fork/rust

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

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
398 B14 linesraw
1error: unreachable pattern
2  --> $DIR/issue-65157-repeated-match-arm.rs:15:9
3   |
4LL |         PartiallyInhabitedVariants::Struct { .. } => {},
5   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6   |
7note: lint level defined here
8  --> $DIR/issue-65157-repeated-match-arm.rs:2:9
9   |
10LL | #![deny(unreachable_patterns)]
11   |         ^^^^^^^^^^^^^^^^^^^^
12
13error: aborting due to previous error
14