Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upPoint at match discriminant on type error in match arm pattern #57279
Comments
estebank
added
the
A-diagnostics
label
Jan 2, 2019
estebank
referenced this issue
Jan 6, 2019
Merged
Point at match discriminant on type error in match arm pattern #57366
estebank
changed the title
Point at match expression on type error in match arm pattern
Point at match discrimant on type error in match arm pattern
Jan 6, 2019
estebank
changed the title
Point at match discrimant on type error in match arm pattern
Point at match discriminant on type error in match arm pattern
Jan 6, 2019
added a commit
that referenced
this issue
Jan 10, 2019
added a commit
to Centril/rust
that referenced
this issue
Jan 13, 2019
bors
closed this
in
#57366
Jan 14, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
estebank commentedJan 2, 2019
From https://www.reddit.com/r/rust/comments/abjzi7/expected_usize_found_enum_stdresultresult/
When encountering code like the following, where a match arm pattern is not the expected type, point at the match expression to provide more context