]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/tests/ui/match_single_binding.stderr
Rollup merge of #84221 - ABouttefeux:generic-arg-elision, r=estebank
[rust.git] / src / tools / clippy / tests / ui / match_single_binding.stderr
index cbbf5d29c02471a024d0ef8c072768030ed9d026..795c8c3e24d7e44816419aabc3c3f2256feb2b4f 100644 (file)
@@ -167,16 +167,5 @@ LL |             unwrapped
 LL |         })
    |
 
-error: this match could be replaced by its body itself
-  --> $DIR/match_single_binding.rs:112:5
-   |
-LL | /     match match y {
-LL | |         0 => 1,
-LL | |         _ => 2,
-LL | |     } {
-LL | |         _ => println!("Single branch"),
-LL | |     }
-   | |_____^ help: consider using the match body instead: `println!("Single branch");`
-
-error: aborting due to 12 previous errors
+error: aborting due to 11 previous errors