21 lines
515 B
Plaintext
21 lines
515 B
Plaintext
error: unreachable pattern
|
|
--> $DIR/issue-57472.rs:15:13
|
|
|
|
|
LL | Punned { bar: [_], .. } => println!("bar"),
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/issue-57472.rs:2:9
|
|
|
|
|
LL | #![deny(unreachable_patterns)]
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: unreachable pattern
|
|
--> $DIR/issue-57472.rs:31:13
|
|
|
|
|
LL | Punned { bar: [_] } => println!("bar"),
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 2 previous errors
|
|
|