fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1warning: hidden lifetime parameters in types are deprecated 2 --> $DIR/reasons.rs:21:29 3 | 4LL | 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 8note: lint level defined here 9 --> $DIR/reasons.rs:5:9 10 | 11LL | #![warn(elided_lifetimes_in_paths, 12 | ^^^^^^^^^^^^^^^^^^^^^^^^^ 13 14warning: variable `Social_exchange_psychology` should have a snake case name 15 --> $DIR/reasons.rs:30:9 16 | 17LL | let Social_exchange_psychology = CheaterDetectionMechanism {}; 18 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `social_exchange_psychology` 19 | 20 = note: people shouldn't have to change their usual style habits 21 to contribute to our project 22note: lint level defined here 23 --> $DIR/reasons.rs:9:5 24 | 25LL | nonstandard_style, 26 | ^^^^^^^^^^^^^^^^^ 27 = note: `#[warn(non_snake_case)]` implied by `#[warn(nonstandard_style)]` 28