Skip to content
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

librustc: Disallow multiple patterns from appearing in a "let" declaration. #6944

Merged
merged 2 commits into from
Jun 5, 2013

Conversation

pcwalton
Copy link
Contributor

@pcwalton pcwalton commented Jun 5, 2013

pcwalton added 2 commits June 4, 2013 21:45
…ation.

You can still initialize multiple variables at once with "let (x, y) = (1, 2)".
bors added a commit that referenced this pull request Jun 5, 2013
@bors bors closed this Jun 5, 2013
@bors bors merged commit 8114d0e into rust-lang:incoming Jun 5, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Mar 25, 2021
…nDefault, r=Manishearth

Fix suggestion with generics for `field_reassign_with_default` lint

Fix bad suggestion where `::` is missing after type if generics are involved

Fixes rust-lang#6944

changelog: none
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.

3 participants