rust/tests/ui/pattern/usefulness/match-arm-statics.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
652 B
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
error: unreachable pattern
2018-12-25 09:56:47 -06:00
--> $DIR/match-arm-statics.rs:25:9
2018-08-08 07:28:26 -05:00
|
LL | (true, true) => ()
| ^^^^^^^^^^^^
|
2020-01-22 17:57:38 -06:00
note: the lint level is defined here
2018-12-25 09:56:47 -06:00
--> $DIR/match-arm-statics.rs:2:9
2018-08-08 07:28:26 -05:00
|
LL | #![deny(unreachable_patterns)]
| ^^^^^^^^^^^^^^^^^^^^
error: unreachable pattern
2018-12-25 09:56:47 -06:00
--> $DIR/match-arm-statics.rs:40:9
2018-08-08 07:28:26 -05:00
|
LL | Some(Some(East)) => (),
| ^^^^^^^^^^^^^^^^
error: unreachable pattern
2018-12-25 09:56:47 -06:00
--> $DIR/match-arm-statics.rs:60:9
2018-08-08 07:28:26 -05:00
|
LL | Foo { bar: Some(EAST), baz: NewBool(false) } => ()
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 3 previous errors