1 error: type `ONE_TWO_THREE` should have a camel case name such as `OneTwoThree`
2 --> $DIR/lint-non-camel-case-types.rs:14:1
4 LL | struct ONE_TWO_THREE;
5 | ^^^^^^^^^^^^^^^^^^^^^
7 note: lint level defined here
8 --> $DIR/lint-non-camel-case-types.rs:11:11
10 LL | #![forbid(non_camel_case_types)]
11 | ^^^^^^^^^^^^^^^^^^^^
13 error: type `foo` should have a camel case name such as `Foo`
14 --> $DIR/lint-non-camel-case-types.rs:17:1
16 LL | / struct foo { //~ ERROR type `foo` should have a camel case name such as `Foo`
21 error: type `foo2` should have a camel case name such as `Foo2`
22 --> $DIR/lint-non-camel-case-types.rs:21:1
24 LL | / enum foo2 { //~ ERROR type `foo2` should have a camel case name such as `Foo2`
29 error: type `foo3` should have a camel case name such as `Foo3`
30 --> $DIR/lint-non-camel-case-types.rs:25:1
32 LL | / struct foo3 { //~ ERROR type `foo3` should have a camel case name such as `Foo3`
37 error: type `foo4` should have a camel case name such as `Foo4`
38 --> $DIR/lint-non-camel-case-types.rs:29:1
40 LL | type foo4 = isize; //~ ERROR type `foo4` should have a camel case name such as `Foo4`
43 error: variant `bar` should have a camel case name such as `Bar`
44 --> $DIR/lint-non-camel-case-types.rs:32:5
46 LL | bar //~ ERROR variant `bar` should have a camel case name such as `Bar`
49 error: trait `foo6` should have a camel case name such as `Foo6`
50 --> $DIR/lint-non-camel-case-types.rs:35:1
52 LL | / trait foo6 { //~ ERROR trait `foo6` should have a camel case name such as `Foo6`
53 LL | | fn dummy(&self) { }
57 error: type parameter `ty` should have a camel case name such as `Ty`
58 --> $DIR/lint-non-camel-case-types.rs:39:6
60 LL | fn f<ty>(_: ty) {} //~ ERROR type parameter `ty` should have a camel case name such as `Ty`
63 error: type `X86__64` should have a camel case name such as `X86_64`
64 --> $DIR/lint-non-camel-case-types.rs:48:1
66 LL | struct X86__64; //~ ERROR type `X86__64` should have a camel case name such as `X86_64`
69 error: type `Abc_123` should have a camel case name such as `Abc123`
70 --> $DIR/lint-non-camel-case-types.rs:50:1
72 LL | struct Abc_123; //~ ERROR type `Abc_123` should have a camel case name such as `Abc123`
75 error: type `A1_b2_c3` should have a camel case name such as `A1B2C3`
76 --> $DIR/lint-non-camel-case-types.rs:52:1
78 LL | struct A1_b2_c3; //~ ERROR type `A1_b2_c3` should have a camel case name such as `A1B2C3`
81 error: aborting due to 11 previous errors