]> git.lizzy.rs Git - rust.git/blob - src/test/ui/pattern/usefulness/issue-30240-b.stderr
Rollup merge of #79293 - Havvy:test-eval-order-compound-assign, r=Mark-Simulacrum
[rust.git] / src / test / ui / pattern / usefulness / issue-30240-b.stderr
1 error: unreachable pattern
2   --> $DIR/issue-30240-b.rs:12:9
3    |
4 LL |         "hello" => {}
5    |         ^^^^^^^
6    |
7 note: the lint level is defined here
8   --> $DIR/issue-30240-b.rs:1:9
9    |
10 LL | #![deny(unreachable_patterns)]
11    |         ^^^^^^^^^^^^^^^^^^^^
12
13 error: aborting due to previous error
14