blob: 87835162c93f6c1e007c3a6b32493674ebce3a3c [file] [log] [blame]
error: compilation successful
--> $DIR/feature-gate.rs:31:1
|
LL | / fn main() { //[with_gate]~ ERROR compilation successful
LL | | let y = Foo { x: 1 };
LL | | match y {
LL | | FOO => { }
LL | | _ => { }
LL | | }
LL | | }
| |_^
error: aborting due to previous error