fork/rust

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

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.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