rust/tests/ui/span/suggestion-raw-68962.rs
2024-04-29 15:02:12 +08:00

12 lines
271 B
Rust

fn r#fn() {}
fn main() {
let r#final = 1;
// Should correctly suggest variable defined using raw identifier.
fina; //~ ERROR cannot find value
// Should correctly suggest function defined using raw identifier.
f(); //~ ERROR cannot find function
}