1 #![forbid(non_camel_case_types)]
5 //~^ ERROR type `ONE_TWO_THREE` should have a camel case name
7 struct foo { //~ ERROR type `foo` should have a camel case name
11 enum foo2 { //~ ERROR type `foo2` should have a camel case name
15 struct foo3 { //~ ERROR type `foo3` should have a camel case name
19 type foo4 = isize; //~ ERROR type `foo4` should have a camel case name
22 bar //~ ERROR variant `bar` should have a camel case name
25 trait foo6 { //~ ERROR trait `foo6` should have a camel case name
29 fn f<ty>(_: ty) {} //~ ERROR type parameter `ty` should have a camel case name
38 struct X86__64; //~ ERROR type `X86__64` should have a camel case name
40 struct Abc_123; //~ ERROR type `Abc_123` should have a camel case name
42 struct A1_b2_c3; //~ ERROR type `A1_b2_c3` should have a camel case name