summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/keywords-followed-by-double-colon.rs
blob: 5c7049f7c9bc7aafb74abd6bb851e6f53b81cf1e (plain)
1
2
3
4
5
6
7
8
fn main() {
    struct::foo();
    //~^ ERROR expected identifier
}
fn bar() {
    mut::baz();
    //~^ ERROR expected expression, found keyword `mut`
}