Skip to content

Conversation

@flodiebold
Copy link
Member

[70; 147) 'match ... }': &[i32]
[76; 77) 'i': i32
[88; 89) '2': i32
[88; 89) '2': i32
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the duplicates?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One is the pattern (which was previously inferred 'backwards' in this case), one is the expression inside the pattern.

@kjeremy
Copy link
Contributor

kjeremy commented Apr 2, 2020

bors r+

@bors
Copy link
Contributor

bors bot commented Apr 2, 2020

@bors bors bot merged commit 23c4ef5 into rust-lang:master Apr 2, 2020
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.

2 participants