about summary refs log tree commit diff
path: root/tests/ui/structs/struct-duplicate-comma.stderr
blob: dc1c6ae871655cd6e3a1cdebb162378ed50bfbf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
error: expected identifier, found `,`
  --> $DIR/struct-duplicate-comma.rs:11:14
   |
LL |     let _ = Foo {
   |             --- while parsing this struct
LL |         a: 0,,
   |              ^ expected identifier
   |
help: remove this comma
   |
LL -         a: 0,,
LL +         a: 0,
   |

error: aborting due to 1 previous error