blob: 5ba8eb51bbca3a1dac5840f8739d926b5b00214a (
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 1 previous error
|