mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-11 08:05:12 +00:00
15 lines
339 B
Plaintext
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
|
|
|