]>
git.proxmox.com Git - rustc.git/blob - tests/ui/lint/lint-nonstandard-style-unicode-2.rs
3 #![forbid(non_snake_case)]
5 // Some scripts (e.g., hiragana) don't have a concept of
10 // Can only use non-uppercase letters.
18 //~^ ERROR function `Ц` should have a snake case name
20 // besides this, you cannot use continuous underscores in the middle
23 //~^ ERROR function `分__隔` should have a snake case name
25 // but you can use them both at the beginning and at the end.
27 fn _______不_连_续_的_存_在
_______() {}