]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/keywords-followed-by-double-colon.rs
Auto merge of #55519 - fhartwig:hashmap-index-example, r=Centril
[rust.git] / src / test / ui / parser / keywords-followed-by-double-colon.rs
1 // compile-flags: -Z parse-only
2
3 fn main() {
4     struct::foo();
5     //~^ ERROR expected identifier
6 }
7 fn bar() {
8     mut::baz();
9     //~^ ERROR expected expression, found keyword `mut`
10 }