fork/rust

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

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
278 B14 linesraw
1error: fatal error triggered by #[rustc_error]
2  --> $DIR/feature-gate.rs:21:1
3   |
4LL | / fn main() {
5LL | |     let y = Foo { x: 1 };
6LL | |     match y {
7LL | |         FOO => { }
8LL | |         _ => { }
9LL | |     }
10LL | | }
11   | |_^
12
13error: aborting due to previous error
14