]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/matches.stderr
Better binding name on Err for note
[rust.git] / tests / ui / matches.stderr
index 4c723d709d01cf4dc09a961c0c4c1d3ada1b170b..dd8014073df73c5f2b37e214d3c93795dc56519e 100644 (file)
@@ -78,7 +78,7 @@ LL |         Ok(3) => println!("ok"),
    |         ^^^^^
    = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
 
-error: `Err(_)` will match all errors, maybe not a good idea
+error: `Err(_e)` will match all errors, maybe not a good idea
   --> $DIR/matches.rs:34:9
    |
 LL |         Err(_e) => panic!(),