summaryrefslogtreecommitdiffstats
path: root/tests/ui/pattern/usefulness/issue-30240-b.stderr
blob: 74d39eba98c9d3b997fb5edf6705a597d76b8d8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: unreachable pattern
  --> $DIR/issue-30240-b.rs:12:9
   |
LL |         "hello" => {}
   |         ^^^^^^^
   |
note: the lint level is defined here
  --> $DIR/issue-30240-b.rs:1:9
   |
LL | #![deny(unreachable_patterns)]
   |         ^^^^^^^^^^^^^^^^^^^^

error: aborting due to 1 previous error