mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 04:39:16 +00:00
15 lines
302 B
Plaintext
15 lines
302 B
Plaintext
error: unreachable pattern
|
|
--> $DIR/issue-30240-b.rs:12:9
|
|
|
|
|
LL | "hello" => {}
|
|
| ^^^^^^^
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/issue-30240-b.rs:1:9
|
|
|
|
|
LL | #![deny(unreachable_patterns)]
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to previous error
|
|
|