summaryrefslogtreecommitdiffstats
path: root/tests/ui/pattern/usefulness/issue-12369.stderr
blob: aab2be78c9a4c6cbb0f9c7deb6d4e3fa1b26f855 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: unreachable pattern
  --> $DIR/issue-12369.rs:9:9
   |
LL |         &[10,a, ref rest @ ..] => 10
   |         ^^^^^^^^^^^^^^^^^^^^^^
   |
note: the lint level is defined here
  --> $DIR/issue-12369.rs:1:9
   |
LL | #![deny(unreachable_patterns)]
   |         ^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error