summaryrefslogtreecommitdiffstats
path: root/src/test/ui/reachable/unreachable-loop-patterns.stderr
blob: 80ffa5d73f034224bf4ddef273c0038740735f45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: unreachable pattern
  --> $DIR/unreachable-loop-patterns.rs:18:9
   |
LL |     for _ in unimplemented!() as Void {}
   |         ^
   |
note: the lint level is defined here
  --> $DIR/unreachable-loop-patterns.rs:5:9
   |
LL | #![deny(unreachable_patterns)]
   |         ^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error