rust/tests/ui/suggestions/non_ascii_ident.rs

8 lines
294 B
Rust

fn main() {
// There shall be no suggestions here. In particular not `Ok`.
let _ = ; //~ ERROR cannot find value `读文` in this scope
let f = 0f32; // Important line to make this an ICE regression test
(f); //~ ERROR cannot find function `读文` in this scope
}