]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/assoc-oddities-2.stderr
Rollup merge of #106797 - FawazTirmizi:dev/issues/104284, r=bjorn3
[rust.git] / tests / ui / parser / assoc-oddities-2.stderr
1 error: expected one of `.`, `;`, `?`, or `}`, found `[`
2   --> $DIR/assoc-oddities-2.rs:5:29
3    |
4 LL |     x..if c { a } else { b }[n];
5    |                             ^ expected one of `.`, `;`, `?`, or `}`
6
7 error: aborting due to previous error
8