1 error: type `ONE_TWO_THREE` should have an upper camel case name
2 --> $DIR/lint-non-camel-case-types.rs:4:8
4 LL | struct ONE_TWO_THREE;
5 | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `OneTwoThree`
7 note: the lint level is defined here
8 --> $DIR/lint-non-camel-case-types.rs:1:11
10 LL | #![forbid(non_camel_case_types)]
11 | ^^^^^^^^^^^^^^^^^^^^
13 error: type `foo` should have an upper camel case name
14 --> $DIR/lint-non-camel-case-types.rs:7:8
17 | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `Foo`
19 error: type `foo2` should have an upper camel case name
20 --> $DIR/lint-non-camel-case-types.rs:11:6
23 | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Foo2`
25 error: type `foo3` should have an upper camel case name
26 --> $DIR/lint-non-camel-case-types.rs:15:8
29 | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Foo3`
31 error: type `foo4` should have an upper camel case name
32 --> $DIR/lint-non-camel-case-types.rs:19:6
34 LL | type foo4 = isize;
35 | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Foo4`
37 error: variant `bar` should have an upper camel case name
38 --> $DIR/lint-non-camel-case-types.rs:22:5
41 | ^^^ help: convert the identifier to upper camel case: `Bar`
43 error: trait `foo6` should have an upper camel case name
44 --> $DIR/lint-non-camel-case-types.rs:25:7
47 | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Foo6`
49 error: associated type `foo7` should have an upper camel case name
50 --> $DIR/lint-non-camel-case-types.rs:26:10
53 | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Foo7`
55 error: type parameter `ty` should have an upper camel case name
56 --> $DIR/lint-non-camel-case-types.rs:30:6
58 LL | fn f<ty>(_: ty) {}
59 | ^^ help: convert the identifier to upper camel case: `Ty`
61 error: aborting due to 9 previous errors