Skip to content

librustc: Implement simple where clauses. #16424

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 15, 2014

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)
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