rust/tests/ui/error-codes/E0001.stderr

15 lines
282 B
Plaintext
Raw Normal View History

2018-02-07 19:35:35 -08:00
error: unreachable pattern
2018-12-25 08:56:47 -07:00
--> $DIR/E0001.rs:8:9
2018-02-07 19:35:35 -08:00
|
2019-03-09 15:03:44 +03:00
LL | _ => {/* ... */}
2018-02-07 19:35:35 -08:00
| ^
|
2020-01-22 23:57:38 +00:00
note: the lint level is defined here
2018-12-25 08:56:47 -07:00
--> $DIR/E0001.rs:1:9
2018-02-07 19:35:35 -08:00
|
2018-02-23 03:42:32 +03:00
LL | #![deny(unreachable_patterns)]
2018-02-07 19:35:35 -08:00
| ^^^^^^^^^^^^^^^^^^^^
error: aborting due to previous error