summary refs log tree commit diff
path: root/src/test/ui/parser/assoc-oddities-2.stderr
blob: 878ef68274736593bb1e15f67c410a0051cc8d0d (plain)
1
2
3
4
5
6
7
8
error: expected one of `.`, `;`, `?`, or `}`, found `[`
  --> $DIR/assoc-oddities-2.rs:15:29
   |
LL |     x..if c { a } else { b }[n]; //~ ERROR expected one of
   |                             ^ expected one of `.`, `;`, `?`, or `}` here

error: aborting due to previous error