rust/src/test/ui/issues/issue-12369.stderr

15 lines
315 B
Plaintext
Raw Normal View History

2018-07-15 16:11:54 -05:00
error: unreachable pattern
2018-12-25 09:56:47 -06:00
--> $DIR/issue-12369.rs:10:9
2018-07-15 16:11:54 -05:00
|
2019-03-09 06:03:44 -06:00
LL | &[10,a, ref rest..] => 10
2018-07-15 16:11:54 -05:00
| ^^^^^^^^^^^^^^^^^^^
|
note: lint level defined here
2018-12-25 09:56:47 -06:00
--> $DIR/issue-12369.rs:2:9
2018-07-15 16:11:54 -05:00
|
LL | #![deny(unreachable_patterns)]
| ^^^^^^^^^^^^^^^^^^^^
error: aborting due to previous error