Skip to content

librustc: Implement simple where clauses.#16424

Merged
bors merged 1 commit intorust-lang:masterfrom
pcwalton:where-clauses
Aug 15, 2014
Merged

librustc: Implement simple where clauses.#16424
bors merged 1 commit intorust-lang:masterfrom
pcwalton:where-clauses

Conversation

@pcwalton
Copy link
Contributor

These where clauses are accepted everywhere generics are currently
accepted and desugar during type collection to the type parameter bounds
we have today.

A new keyword, where, has been added. Therefore, this is a breaking
change. Change uses of where to other identifiers.

[breaking-change]

r? @nikomatsakis (or whoever)

@nikomatsakis
Copy link
Contributor

r+ modulo missing tests / ast-folder methods

These `where` clauses are accepted everywhere generics are currently
accepted and desugar during type collection to the type parameter bounds
we have today.

A new keyword, `where`, has been added. Therefore, this is a breaking
change. Change uses of `where` to other identifiers.

[breaking-change]
@pcwalton
Copy link
Contributor Author

@bors: retry

bors added a commit that referenced this pull request Aug 15, 2014
These `where` clauses are accepted everywhere generics are currently
accepted and desugar during type collection to the type parameter bounds
we have today.

A new keyword, `where`, has been added. Therefore, this is a breaking
change. Change uses of `where` to other identifiers.

[breaking-change]

r? @nikomatsakis (or whoever)
@bors bors closed this Aug 15, 2014
@bors bors merged commit 604af3f into rust-lang:master Aug 15, 2014
cadencemarseille added a commit to cadencemarseille/rust-pcre that referenced this pull request Aug 31, 2014
matthiaskrgr pushed a commit to matthiaskrgr/rust that referenced this pull request Feb 11, 2024
…ist, r=Veykril

implement convert to guarded return assist for `let` statement with type that implements `std::ops::Try`

I've tried to implement the assist that rust-lang#16390 talked about

If there are any improvements that I can make in implementation, please suggest them.

![Peek 2024-02-05 19-01](https://github.com/rust-lang/rust-analyzer/assets/40687700/d6af3222-4f23-4ade-a930-8a78cc75e821)
flip1995 pushed a commit to flip1995/rust that referenced this pull request Feb 12, 2026
…16424)

Closes rust-lang/rust-clippy#16419

changelog: [`manual_is_variant_and`] enhance to cover manual
`is_none_or`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants