mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
15 lines
362 B
Plaintext
15 lines
362 B
Plaintext
error: expected identifier, found `::`
|
|
--> $DIR/keywords-followed-by-double-colon.rs:2:11
|
|
|
|
|
LL | struct::foo();
|
|
| ^^ expected identifier
|
|
|
|
error: expected expression, found keyword `mut`
|
|
--> $DIR/keywords-followed-by-double-colon.rs:6:5
|
|
|
|
|
LL | mut::baz();
|
|
| ^^^ expected expression
|
|
|
|
error: aborting due to 2 previous errors
|
|
|