Skip to content

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

Merged
bors merged 2 commits into
rust-lang:incomingfrom
pcwalton:multiple-patterns-in-let
Jun 5, 2013
Merged

librustc: Disallow multiple patterns from appearing in a "let" declaration.#6944
bors merged 2 commits into
rust-lang:incomingfrom
pcwalton:multiple-patterns-in-let

Conversation

@pcwalton

Copy link
Copy Markdown
Contributor

…ation.
You can still initialize multiple variables at once with "let (x, y) = (1, 2)".
@borsbors closed this Jun 5, 2013
@bors
bors merged commit 8114d0e into rust-lang:incomingJun 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
Fixesrust-lang#6944
changelog: none
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
6944: Make attribute API more private r=jonas-schievink a=jonas-schievink
bors r+
Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
Sign up for freeto 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

@pcwalton@nikomatsakis@bors