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

9 lines
255 B
Plaintext
Raw Normal View History

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