summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/assoc-oddities-2.stderr
blob: d3b90c34c29a13f77e1074d60daa7c83a3b658f3 (plain)
1
2
3
4
5
6
7
8
error: expected one of `.`, `;`, `?`, or `}`, found `[`
  --> $DIR/assoc-oddities-2.rs:5:29
   |
LL |     x..if c { a } else { b }[n];
   |                             ^ expected one of `.`, `;`, `?`, or `}`

error: aborting due to previous error