]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/reasons.stderr
Rollup merge of #55252 - SimonSapin:maybeuninit-new, r=bluss
[rust.git] / src / test / ui / lint / reasons.stderr
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
8 note: lint level defined here
9   --> $DIR/reasons.rs:5:9
10    |
11 LL | #![warn(elided_lifetimes_in_paths,
12    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
13
14 warning: variable `Social_exchange_psychology` should have a snake case name such as `social_exchange_psychology`
15   --> $DIR/reasons.rs:30:9
16    |
17 LL |     let Social_exchange_psychology = CheaterDetectionMechanism {};
18    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
19    |
20    = note: people shouldn't have to change their usual style habits
21            to contribute to our project
22 note: lint level defined here
23   --> $DIR/reasons.rs:9:5
24    |
25 LL |     nonstandard_style,
26    |     ^^^^^^^^^^^^^^^^^
27    = note: #[warn(non_snake_case)] implied by #[warn(nonstandard_style)]
28