]> git.lizzy.rs Git - rust.git/blob - src/test/ui/pattern/usefulness/match-ref-ice.stderr
Rollup merge of #80298 - PankajChaudhary5:PankajChaudhary, r=GuillaumeGomez
[rust.git] / src / test / ui / pattern / usefulness / match-ref-ice.stderr
1 error: unreachable pattern
2   --> $DIR/match-ref-ice.rs:13:9
3    |
4 LL |         [1, 2, 3] => (),
5    |         ^^^^^^^^^
6    |
7 note: the lint level is defined here
8   --> $DIR/match-ref-ice.rs:1:9
9    |
10 LL | #![deny(unreachable_patterns)]
11    |         ^^^^^^^^^^^^^^^^^^^^
12
13 error: aborting due to previous error
14