summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/removed-syntax-with-1.stderr
blob: c3f747b61b99fe9563b5771a5ab0af5c2e3e5b9b (plain)
1
2
3
4
5
6
7
8
9
10
11
error: expected one of `,`, `.`, `?`, `}`, or an operator, found `with`
  --> $DIR/removed-syntax-with-1.rs:8:25
   |
LL |     let b = S { foo: () with a, bar: () };
   |             -          -^^^^ expected one of `,`, `.`, `?`, `}`, or an operator
   |             |          |
   |             |          help: try adding a comma: `,`
   |             while parsing this struct

error: aborting due to previous error