mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 22:41:50 +00:00
10 lines
261 B
Rust
10 lines
261 B
Rust
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
|
|
}
|