summary refs log tree commit diff
path: root/src/test/ui/parser/removed-syntax-with-1.stderr
blob: a157873916a649779a6bf94b8ee84ebc692bb4d9 (plain)
1
2
3
4
5
6
7
8
9
10
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 here
   |             |
   |             while parsing this struct

error: aborting due to previous error