rust/tests/ui/reachable/unreachable-loop-patterns.stderr
2023-01-11 09:32:08 +00:00

15 lines
339 B
Plaintext

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