]> git.proxmox.com Git - rustc.git/blame - src/test/ui/utf8_idents.rs
New upstream version 1.46.0~beta.2+dfsg1
[rustc.git] / src / test / ui / utf8_idents.rs
CommitLineData
f035d41b
XL
1#![allow(mixed_script_confusables)]
2
1a4d82fc
JJ
3fn foo<
4 'β, //~ ERROR non-ascii idents are not fully supported
5 γ //~ ERROR non-ascii idents are not fully supported
9fa01778 6 //~^ WARN type parameter `γ` should have an upper camel case name
1a4d82fc 7>() {}
223e47cc 8
1a4d82fc
JJ
9struct X {
10 δ: usize //~ ERROR non-ascii idents are not fully supported
11}
223e47cc
LB
12
13pub fn main() {
1a4d82fc 14 let α = 0.00001f64; //~ ERROR non-ascii idents are not fully supported
223e47cc 15}