summary refs log tree commit diff
path: root/src/test/ui/parser/bind-struct-early-modifiers.stderr
blob: 618e577e4e22929a201801b3a67fb136795659b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error: expected `,`
  --> $DIR/bind-struct-early-modifiers.rs:4:19
   |
LL |         Foo { ref x: ref x } => {}, //~ ERROR expected `,`
   |                   ^

error[E0027]: pattern does not mention field `x`
  --> $DIR/bind-struct-early-modifiers.rs:4:9
   |
LL |         Foo { ref x: ref x } => {}, //~ ERROR expected `,`
   |         ^^^^^^^^^^^^^^^^^^^^ missing field `x`

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0027`.