We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcfeb06 commit 90f40cdCopy full SHA for 90f40cd
src/librustc_mir/diagnostics.rs
@@ -1978,8 +1978,8 @@ could cause the match to be non-exhaustive:
1978
let mut x = Some(0);
1979
match x {
1980
None => (),
1981
- Some(v) if { x = None; false } => (),
1982
- Some(_) => (), // No longer matches
+ Some(_) if { x = None; false } => (),
+ Some(v) => (), // No longer matches
1983
}
1984
```
1985
0 commit comments