You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue was labelled with: A-diagnostics, A-windows, B-RFC, I-papercut in the Rust repository
Based on an IRC conversation just now, I can think of two ways to improve this error message:
Because pattern guards use the "if" keyword, someone may have written one by accident. Then, if they see this error message, they're going to ask "what's a pattern guard"? The error could explain this (it's a little hard to figure out right now since the entire pattern gets underlined, not the guard).
Probably more importantly, the error should suggest what to do to fix it.
The error in question is in rustc::middle::check_match.
The text was updated successfully, but these errors were encountered:
Issue by catamorphism
Saturday Jan 26, 2013 at 20:41 GMT
For earlier discussion, see rust-lang/rust#4649
This issue was labelled with: A-diagnostics, A-windows, B-RFC, I-papercut in the Rust repository
Based on an IRC conversation just now, I can think of two ways to improve this error message:
The error in question is in
rustc::middle::check_match
.The text was updated successfully, but these errors were encountered: