mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 18:15:07 +03:00
15 lines
396 B
Plaintext
15 lines
396 B
Plaintext
error: expected one of `async`, `|`, or `||`, found `[`
|
|
--> $DIR/parse-ambiguity-errors.rs:12:17
|
|
|
|
|
LL | let _ = move[x] || y;
|
|
| ^ expected one of `async`, `|`, or `||`
|
|
|
|
error: `move(expr)` is only supported in plain closures
|
|
--> $DIR/parse-ambiguity-errors.rs:7:13
|
|
|
|
|
LL | let _ = move(x) || y;
|
|
| ^^^^
|
|
|
|
error: aborting due to 2 previous errors
|
|
|