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

error: aborting due to previous error