]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/raw-name-use-suggestion.rs
update comment to explain the importance of this check more clearly
[rust.git] / src / test / ui / suggestions / raw-name-use-suggestion.rs
1 mod foo {
2     pub fn r#let() {}
3     pub fn break() {} //~ ERROR expected identifier, found keyword `break`
4 }
5
6 fn main() {
7     foo::let(); //~ ERROR expected identifier, found keyword `let`
8     r#break(); //~ ERROR cannot find function `break` in this scope
9 }