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