summary refs log tree commit diff
path: root/src/test/ui/parser/better-expected.stderr
blob: 3495353c6f905875bb4f39eefd7727d33cf947fc (plain)
1
2
3
4
5
6
7
8
9
10
error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `3`
  --> $DIR/better-expected.rs:2:19
   |
LL |     let x: [isize 3]; //~ ERROR expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `3`
   |         -         ^ expected one of 7 possible tokens here
   |         |
   |         while parsing the type for `x`

error: aborting due to previous error