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

9 lines
117 B
Rust
Raw Normal View History

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