1 #![deny(nonstandard_style)]
4 fn CamelCase() {} //~ ERROR should have a snake
6 #[allow(nonstandard_style)]
10 #[forbid(nonstandard_style)]
12 fn CamelCase() {} //~ ERROR should have a snake
14 static bad: isize = 1; //~ ERROR should have an upper
18 #![warn(nonstandard_style)]
20 fn CamelCase() {} //~ WARN should have a snake
22 struct snake_case; //~ WARN should have an upper camel