]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc1445/feature-gate.with_gate.stderr
Move parse-fail tests to UI
[rust.git] / src / test / ui / rfc1445 / feature-gate.with_gate.stderr
1 error: compilation successful
2   --> $DIR/feature-gate.rs:31:1
3    |
4 LL | / fn main() { //[with_gate]~ ERROR compilation successful
5 LL | |     let y = Foo { x: 1 };
6 LL | |     match y {
7 LL | |         FOO => { }
8 LL | |         _ => { }
9 LL | |     }
10 LL | | }
11    | |_^
12
13 error: aborting due to previous error
14