summaryrefslogtreecommitdiffstats
path: root/src/test/ui/structs/struct-duplicate-comma.stderr
blob: 834b3c5c17164c4136f05f054b6651c6073b7fe4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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

error: aborting due to previous error