rust/src/test/ui/utf8_idents.rs
2019-01-06 14:58:17 +03:00

16 lines
392 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.

//
fn foo<
'β, //~ ERROR non-ascii idents are not fully supported
γ //~ ERROR non-ascii idents are not fully supported
//~^ WARN type parameter `γ` should have a camel case name such as `Γ`
>() {}
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
}