summaryrefslogtreecommitdiffstats
path: root/tests/ui/suggestions/raw-name-use-suggestion.rs
blob: 0a8073c0be2ea627cdd59d843d88af9fc9f02db1 (plain)
1
2
3
4
5
6
7
8
9
mod foo {
    pub fn r#let() {}
    pub fn break() {} //~ ERROR expected identifier, found keyword `break`
}

fn main() {
    foo::let(); //~ ERROR expected identifier, found keyword `let`
    r#break(); //~ ERROR cannot find function `r#break` in this scope
}