summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/keywords-followed-by-double-colon.stderr
blob: 4c4d5e5dd001e811a88de443235e0092ce3c6d9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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