]> git.lizzy.rs Git - rust.git/blob - src/test/ui/unreachable/unreachable-arm.stderr
Auto merge of #65422 - tmandry:rollup-r5u3mlc, r=tmandry
[rust.git] / src / test / ui / unreachable / unreachable-arm.stderr
1 error: unreachable pattern
2   --> $DIR/unreachable-arm.rs:11:9
3    |
4 LL |         Foo::A(_, 1) => { }
5    |         ^^^^^^^^^^^^
6    |
7 note: lint level defined here
8   --> $DIR/unreachable-arm.rs:4:9
9    |
10 LL | #![deny(unreachable_patterns)]
11    |         ^^^^^^^^^^^^^^^^^^^^
12
13 error: aborting due to previous error
14