2019-02-12 12:35:38 -05:00
|
|
|
warning: type `snake_case` should have an upper camel case name
|
2019-01-04 15:59:07 -05:00
|
|
|
--> $DIR/lint-group-nonstandard-style.rs:22:16
|
2018-12-16 22:21:47 -05:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | struct snake_case;
|
2019-02-12 12:35:38 -05:00
|
|
|
| ^^^^^^^^^^ help: convert the identifier to upper camel case: `SnakeCase`
|
2018-12-16 22:21:47 -05:00
|
|
|
|
|
|
|
|
note: lint level defined here
|
2018-12-29 08:52:25 +01:00
|
|
|
--> $DIR/lint-group-nonstandard-style.rs:18:17
|
2018-12-16 22:21:47 -05:00
|
|
|
|
|
|
|
|
LL | #![warn(nonstandard_style)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
= note: #[warn(non_camel_case_types)] implied by #[warn(nonstandard_style)]
|
|
|
|
|
2019-01-04 10:19:52 -05:00
|
|
|
error: function `CamelCase` should have a snake case name
|
|
|
|
--> $DIR/lint-group-nonstandard-style.rs:4:4
|
2018-02-20 13:28:51 -08:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | fn CamelCase() {}
|
2019-01-04 10:19:52 -05:00
|
|
|
| ^^^^^^^^^ help: convert the identifier to snake case: `camel_case`
|
2018-02-20 13:28:51 -08:00
|
|
|
|
|
|
|
|
note: lint level defined here
|
2018-12-29 08:52:25 +01:00
|
|
|
--> $DIR/lint-group-nonstandard-style.rs:1:9
|
2018-02-20 13:28:51 -08:00
|
|
|
|
|
2018-02-25 02:59:34 +03:00
|
|
|
LL | #![deny(nonstandard_style)]
|
2018-02-20 13:38:46 -08:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
2018-02-20 13:28:51 -08:00
|
|
|
= note: #[deny(non_snake_case)] implied by #[deny(nonstandard_style)]
|
|
|
|
|
2019-01-04 10:19:52 -05:00
|
|
|
error: function `CamelCase` should have a snake case name
|
|
|
|
--> $DIR/lint-group-nonstandard-style.rs:12:12
|
2018-02-20 13:28:51 -08:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | fn CamelCase() {}
|
2019-01-04 10:19:52 -05:00
|
|
|
| ^^^^^^^^^ help: convert the identifier to snake case: `camel_case`
|
2018-02-20 13:28:51 -08:00
|
|
|
|
|
|
|
|
note: lint level defined here
|
2018-12-29 08:52:25 +01:00
|
|
|
--> $DIR/lint-group-nonstandard-style.rs:10:14
|
2018-02-20 13:28:51 -08:00
|
|
|
|
|
2018-02-25 02:59:34 +03:00
|
|
|
LL | #[forbid(nonstandard_style)]
|
2018-02-20 13:38:46 -08:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
2018-02-20 13:28:51 -08:00
|
|
|
= note: #[forbid(non_snake_case)] implied by #[forbid(nonstandard_style)]
|
|
|
|
|
2019-01-04 15:00:15 -05:00
|
|
|
error: static variable `bad` should have an upper case name
|
|
|
|
--> $DIR/lint-group-nonstandard-style.rs:14:16
|
2018-02-20 13:28:51 -08:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | static bad: isize = 1;
|
2019-01-04 15:00:15 -05:00
|
|
|
| ^^^ help: convert the identifier to upper case: `BAD`
|
2018-02-20 13:28:51 -08:00
|
|
|
|
|
|
|
|
note: lint level defined here
|
2018-12-29 08:52:25 +01:00
|
|
|
--> $DIR/lint-group-nonstandard-style.rs:10:14
|
2018-02-20 13:28:51 -08:00
|
|
|
|
|
2018-02-25 02:59:34 +03:00
|
|
|
LL | #[forbid(nonstandard_style)]
|
2018-02-20 13:38:46 -08:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
2018-02-20 13:28:51 -08:00
|
|
|
= note: #[forbid(non_upper_case_globals)] implied by #[forbid(nonstandard_style)]
|
|
|
|
|
2019-01-04 10:19:52 -05:00
|
|
|
warning: function `CamelCase` should have a snake case name
|
|
|
|
--> $DIR/lint-group-nonstandard-style.rs:20:12
|
2018-02-20 13:28:51 -08:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | fn CamelCase() {}
|
2019-01-04 10:19:52 -05:00
|
|
|
| ^^^^^^^^^ help: convert the identifier to snake case: `camel_case`
|
2018-02-20 13:28:51 -08:00
|
|
|
|
|
|
|
|
note: lint level defined here
|
2018-12-29 08:52:25 +01:00
|
|
|
--> $DIR/lint-group-nonstandard-style.rs:18:17
|
2018-02-20 13:28:51 -08:00
|
|
|
|
|
2018-02-25 02:59:34 +03:00
|
|
|
LL | #![warn(nonstandard_style)]
|
2018-02-20 13:38:46 -08:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
2018-02-20 13:28:51 -08:00
|
|
|
= note: #[warn(non_snake_case)] implied by #[warn(nonstandard_style)]
|
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
|