]> git.lizzy.rs Git - rust.git/blob - src/test/ui/pattern/usefulness/match-arm-statics.stderr
Rollup merge of #96051 - newpavlov:duration_rounding, r=nagisa,joshtriplett
[rust.git] / src / test / ui / pattern / usefulness / match-arm-statics.stderr
1 error: unreachable pattern
2   --> $DIR/match-arm-statics.rs:25:9
3    |
4 LL |         (true, true) => ()
5    |         ^^^^^^^^^^^^
6    |
7 note: the lint level is defined here
8   --> $DIR/match-arm-statics.rs:2:9
9    |
10 LL | #![deny(unreachable_patterns)]
11    |         ^^^^^^^^^^^^^^^^^^^^
12
13 error: unreachable pattern
14   --> $DIR/match-arm-statics.rs:40:9
15    |
16 LL |         Some(Some(East)) => (),
17    |         ^^^^^^^^^^^^^^^^
18
19 error: unreachable pattern
20   --> $DIR/match-arm-statics.rs:60:9
21    |
22 LL |         Foo { bar: Some(EAST), baz: NewBool(false) } => ()
23    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
24
25 error: aborting due to 3 previous errors
26