mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
10 lines
297 B
Text
10 lines
297 B
Text
error: expected one of `,`, `.`, `;`, `?`, `]`, or an operator, found `2`
|
|
--> $DIR/suggest-semi-in-array.rs:3:5
|
|
|
|
|
LL | let v = [1
|
|
| - expected one of `,`, `.`, `;`, `?`, `]`, or an operator
|
|
LL | 2];
|
|
| ^ unexpected token
|
|
|
|
error: aborting due to previous error
|
|
|