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