2018-07-15 16:11:54 -05:00
|
|
|
error: unreachable pattern
|
2019-12-29 18:23:42 -06:00
|
|
|
--> $DIR/issue-12369.rs:9:9
|
2018-07-15 16:11:54 -05:00
|
|
|
|
|
2019-07-07 18:58:28 -05:00
|
|
|
LL | &[10,a, ref rest @ ..] => 10
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
2018-07-15 16:11:54 -05:00
|
|
|
|
|
|
|
|
note: lint level defined here
|
2019-12-29 18:23:42 -06:00
|
|
|
--> $DIR/issue-12369.rs:1:9
|
2018-07-15 16:11:54 -05:00
|
|
|
|
|
|
|
|
LL | #![deny(unreachable_patterns)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|