summary refs log tree commit diff
path: root/src/test/ui/parser/mut-patterns.stderr
blob: 5bbb4ce569f0bff4c5777d09f331ed09496631ac (plain)
1
2
3
4
5
6
7
8
error: expected one of `:`, `;`, `=`, or `@`, found `{`
  --> $DIR/mut-patterns.rs:5:17
   |
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