| error: type `ONE_TWO_THREE` should have an upper camel case name |
| --> $DIR/lint-non-camel-case-types.rs:4:8 |
| | |
| LL | struct ONE_TWO_THREE; |
| | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `OneTwoThree` |
| | |
| note: lint level defined here |
| --> $DIR/lint-non-camel-case-types.rs:1:11 |
| | |
| LL | #![forbid(non_camel_case_types)] |
| | ^^^^^^^^^^^^^^^^^^^^ |
| |
| error: type `foo` should have an upper camel case name |
| --> $DIR/lint-non-camel-case-types.rs:7:8 |
| | |
| LL | struct foo { |
| | ^^^ help: convert the identifier to upper camel case: `Foo` |
| |
| error: type `foo2` should have an upper camel case name |
| --> $DIR/lint-non-camel-case-types.rs:11:6 |
| | |
| LL | enum foo2 { |
| | ^^^^ help: convert the identifier to upper camel case: `Foo2` |
| |
| error: type `foo3` should have an upper camel case name |
| --> $DIR/lint-non-camel-case-types.rs:15:8 |
| | |
| LL | struct foo3 { |
| | ^^^^ help: convert the identifier to upper camel case: `Foo3` |
| |
| error: type `foo4` should have an upper camel case name |
| --> $DIR/lint-non-camel-case-types.rs:19:6 |
| | |
| LL | type foo4 = isize; |
| | ^^^^ help: convert the identifier to upper camel case: `Foo4` |
| |
| error: variant `bar` should have an upper camel case name |
| --> $DIR/lint-non-camel-case-types.rs:22:5 |
| | |
| LL | bar |
| | ^^^ help: convert the identifier to upper camel case: `Bar` |
| |
| error: trait `foo6` should have an upper camel case name |
| --> $DIR/lint-non-camel-case-types.rs:25:7 |
| | |
| LL | trait foo6 { |
| | ^^^^ help: convert the identifier to upper camel case: `Foo6` |
| |
| error: type parameter `ty` should have an upper camel case name |
| --> $DIR/lint-non-camel-case-types.rs:29:6 |
| | |
| LL | fn f<ty>(_: ty) {} |
| | ^^ help: convert the identifier to upper camel case: `Ty` |
| |
| error: aborting due to 8 previous errors |
| |