summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-57198.rs
blob: 714a46cbc9f481e7e05ab1a09f3cf23be44ef52a (plain)
1
2
3
4
5
6
7
8
mod m {
    pub fn r#for() {}
}

fn main() {
    m::for();
    //~^ ERROR expected identifier, found keyword `for`
}