1 warning: hidden lifetime parameters in types are deprecated
2 --> $DIR/reasons.rs:20:34
4 LL | fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
7 | expected lifetime parameter
9 = note: explicit anonymous lifetimes aid reasoning about ownership
10 note: the lint level is defined here
11 --> $DIR/reasons.rs:4:9
13 LL | #![warn(elided_lifetimes_in_paths,
14 | ^^^^^^^^^^^^^^^^^^^^^^^^^
15 help: indicate the anonymous lifetime
17 LL | fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result {
20 warning: variable `Social_exchange_psychology` should have a snake case name
21 --> $DIR/reasons.rs:30:9
23 LL | let Social_exchange_psychology = CheaterDetectionMechanism {};
24 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `social_exchange_psychology`
26 = note: people shouldn't have to change their usual style habits
27 to contribute to our project
28 note: the lint level is defined here
29 --> $DIR/reasons.rs:8:5
31 LL | nonstandard_style,
33 = note: `#[warn(non_snake_case)]` implied by `#[warn(nonstandard_style)]`
35 warning: 2 warnings emitted