rust/tests/ui/parser/issues/issue-57198.rs

9 lines
117 B
Rust

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