summary refs log tree commit diff
path: root/src/test/ui/utf8_idents.rs
blob: 6c54086cc2009a4059218f16825fd85dde53da3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#![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
}