mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
15 lines
317 B
Plaintext
15 lines
317 B
Plaintext
error: unreachable pattern
|
|
--> $DIR/unreachable-arm.rs:11:9
|
|
|
|
|
LL | Foo::A(_, 1) => { }
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/unreachable-arm.rs:4:9
|
|
|
|
|
LL | #![deny(unreachable_patterns)]
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to previous error
|
|
|