rust/tests/ui/parser/keywords-followed-by-double-colon.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
362 B
Plaintext
Raw Normal View History

2018-10-20 15:36:17 -05:00
error: expected identifier, found `::`
--> $DIR/keywords-followed-by-double-colon.rs:2:11
2018-10-20 15:36:17 -05:00
|
LL | struct::foo();
| ^^ expected identifier
error: expected expression, found keyword `mut`
--> $DIR/keywords-followed-by-double-colon.rs:6:5
2018-10-20 15:36:17 -05:00
|
LL | mut::baz();
| ^^^ expected expression
error: aborting due to 2 previous errors