]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/keywords-followed-by-double-colon.stderr
:arrow_up: rust-analyzer
[rust.git] / src / test / ui / parser / keywords-followed-by-double-colon.stderr
1 error: expected identifier, found `::`
2   --> $DIR/keywords-followed-by-double-colon.rs:2:11
3    |
4 LL |     struct::foo();
5    |           ^^ expected identifier
6
7 error: expected expression, found keyword `mut`
8   --> $DIR/keywords-followed-by-double-colon.rs:6:5
9    |
10 LL |     mut::baz();
11    |     ^^^ expected expression
12
13 error: aborting due to 2 previous errors
14