rust/src/test/ui/pattern/usefulness/slice-pattern-const-2.stderr

15 lines
304 B
Plaintext
Raw Normal View History

2018-12-13 05:54:49 -06:00
error: unreachable pattern
--> $DIR/slice-pattern-const-2.rs:28:9
2018-12-13 05:54:49 -06:00
|
LL | FOO => (),
| ^^^
2018-12-13 05:54:49 -06:00
|
note: lint level defined here
--> $DIR/slice-pattern-const-2.rs:1:9
|
LL | #![deny(unreachable_patterns)]
| ^^^^^^^^^^^^^^^^^^^^
error: aborting due to previous error
2018-12-13 05:54:49 -06:00