2018-02-07 21:35:35 -06:00
|
|
|
error: unreachable pattern
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/E0001.rs:8:9
|
2018-02-07 21:35:35 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | _ => {/* ... */} //~ ERROR unreachable pattern
|
2018-02-07 21:35:35 -06:00
|
|
|
| ^
|
|
|
|
|
|
|
|
|
note: lint level defined here
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/E0001.rs:1:9
|
2018-02-07 21:35:35 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | #![deny(unreachable_patterns)]
|
2018-02-07 21:35:35 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|