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
match p {Point{x: x,y:ref y } => ...}// can be written asmatch p {Point{ x,ref y } => ...}
Sadly, there is no obvious way to check for this.
Both forms use the same AST, and only the pattern has a Span at all.
The text was updated successfully, but these errors were encountered:
eddyb
added
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
and removed
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
labels
Oct 5, 2014
Sadly, there is no obvious way to check for this.
Both forms use the same AST, and only the pattern has a Span at all.
The text was updated successfully, but these errors were encountered: