rust/src/test/ui/parser/mut-patterns.stderr

9 lines
305 B
Plaintext
Raw Normal View History

2018-10-20 15:36:17 -05:00
error: expected one of `:`, `;`, `=`, or `@`, found `{`
--> $DIR/mut-patterns.rs:5:17
2018-10-20 15:36:17 -05:00
|
LL | let mut Foo { x: x } = Foo { x: 3 }; //~ ERROR: expected one of `:`, `;`, `=`, or `@`, found `{`
| ^ expected one of `:`, `;`, `=`, or `@` here
error: aborting due to previous error