2018-09-29 19:25:26 -05:00
|
|
|
warning: hidden lifetime parameters in types are deprecated
|
2018-09-29 20:00:50 -05:00
|
|
|
--> $DIR/reasons.rs:21:29
|
2018-09-29 19:25:26 -05:00
|
|
|
|
|
|
|
|
LL | fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
|
|
|
|
| ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>`
|
|
|
|
|
|
|
|
|
= note: explicit anonymous lifetimes aid reasoning about ownership
|
|
|
|
note: lint level defined here
|
2018-09-29 20:00:50 -05:00
|
|
|
--> $DIR/reasons.rs:5:9
|
2018-09-29 19:25:26 -05:00
|
|
|
|
|
|
|
|
LL | #![warn(elided_lifetimes_in_paths,
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2019-01-04 09:19:52 -06:00
|
|
|
warning: variable `Social_exchange_psychology` should have a snake case name
|
2018-09-29 20:00:50 -05:00
|
|
|
--> $DIR/reasons.rs:30:9
|
2018-09-29 19:25:26 -05:00
|
|
|
|
|
|
|
|
LL | let Social_exchange_psychology = CheaterDetectionMechanism {};
|
2019-01-04 09:19:52 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `social_exchange_psychology`
|
2018-09-29 19:25:26 -05:00
|
|
|
|
|
|
|
|
= note: people shouldn't have to change their usual style habits
|
|
|
|
to contribute to our project
|
|
|
|
note: lint level defined here
|
2018-09-29 20:00:50 -05:00
|
|
|
--> $DIR/reasons.rs:9:5
|
2018-09-29 19:25:26 -05:00
|
|
|
|
|
|
|
|
LL | nonstandard_style,
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
2019-07-16 15:17:38 -05:00
|
|
|
= note: `#[warn(non_snake_case)]` implied by `#[warn(nonstandard_style)]`
|
2018-09-29 19:25:26 -05:00
|
|
|
|