]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/raw-name-use-suggestion.rs
Rollup merge of #90420 - GuillaumeGomez:rustdoc-internals-feature, r=camelid
[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 `r#break` in this scope
9 }