summaryrefslogtreecommitdiffstats
path: root/tests/ui/structs/struct-duplicate-comma.stderr
blob: 4ac3fc9fe6b24147cf65c06007e0f62b0dd00bf6 (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 1 previous error