rust/src/test/ui/utf8_idents.rs
2020-06-26 01:39:31 +08:00

16 lines
419 B
Rust
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#![allow(mixed_script_confusables)]
fn foo<
'β, //~ ERROR non-ascii idents are not fully supported
γ //~ ERROR non-ascii idents are not fully supported
//~^ WARN type parameter `γ` should have an upper camel case name
>() {}
struct X {
δ: usize //~ ERROR non-ascii idents are not fully supported
}
pub fn main() {
let α = 0.00001f64; //~ ERROR non-ascii idents are not fully supported
}