]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/lint/special-upper-lower-cases.rs
1 // (#77273) These characters are in the general categories of
2 // "Uppercase/Lowercase Letter".
3 // The diagnostics don't provide meaningful suggestions for them
4 // as we cannot convert them properly.
8 #![allow(uncommon_codepoints, unused)]
11 //~^ WARN: type `𝕟𝕠𝕥𝕒𝕔𝕒𝕞𝕖𝕝` should have an upper camel case name
13 // FIXME: How we should handle this?
15 //~^ WARN: type `𝕟𝕠𝕥_𝕒_𝕔𝕒𝕞𝕖𝕝` should have an upper camel case name
17 static 𝗻𝗼𝗻𝘂𝗽𝗽𝗲𝗿𝗰𝗮𝘀𝗲
: i32 = 1;
18 //~^ WARN: static variable `𝗻𝗼𝗻𝘂𝗽𝗽𝗲𝗿𝗰𝗮𝘀𝗲` should have an upper case name
22 //~^ WARN: variable `𝓢𝓝𝓐𝓐𝓐𝓐𝓚𝓔𝓢` should have a snake case name