41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
15 lines
341 B
Plaintext
15 lines
341 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 1 previous error
|
|
|