]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/keywords-followed-by-double-colon.rs
Point (again) to more expressions with their type, even if not fully resolved
[rust.git] / src / test / ui / parser / keywords-followed-by-double-colon.rs
1 fn main() {
2     struct::foo();
3     //~^ ERROR expected identifier
4 }
5 fn bar() {
6     mut::baz();
7     //~^ ERROR expected expression, found keyword `mut`
8 }