fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
645 B26 linesraw
1error: unreachable pattern
2  --> $DIR/match-arm-statics.rs:25:9
3   |
4LL |         (true, true) => ()
5   |         ^^^^^^^^^^^^
6   |
7note: lint level defined here
8  --> $DIR/match-arm-statics.rs:2:9
9   |
10LL | #![deny(unreachable_patterns)]
11   |         ^^^^^^^^^^^^^^^^^^^^
12
13error: unreachable pattern
14  --> $DIR/match-arm-statics.rs:40:9
15   |
16LL |         Some(Some(East)) => (),
17   |         ^^^^^^^^^^^^^^^^
18
19error: unreachable pattern
20  --> $DIR/match-arm-statics.rs:60:9
21   |
22LL |         Foo { bar: Some(EAST), baz: NewBool(false) } => ()
23   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
24
25error: aborting due to 3 previous errors
26