mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 22:41:50 +00:00
9 lines
248 B
Plaintext
9 lines
248 B
Plaintext
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
|
|
|