fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
362 B14 linesraw
1error: expected identifier, found `::`
2  --> $DIR/keywords-followed-by-double-colon.rs:2:11
3   |
4LL |     struct::foo();
5   |           ^^ expected identifier
6
7error: expected expression, found keyword `mut`
8  --> $DIR/keywords-followed-by-double-colon.rs:6:5
9   |
10LL |     mut::baz();
11   |     ^^^ expected expression
12
13error: aborting due to 2 previous errors
14