]> git.proxmox.com Git - rustc.git/blame - src/test/ui/lint/reasons.stderr
New upstream version 1.43.0+dfsg1
[rustc.git] / src / test / ui / lint / reasons.stderr
CommitLineData
a1dfa0c6
XL
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
74b04a01 8note: the lint level is defined here
a1dfa0c6
XL
9 --> $DIR/reasons.rs:5:9
10 |
11LL | #![warn(elided_lifetimes_in_paths,
12 | ^^^^^^^^^^^^^^^^^^^^^^^^^
13
0731742a 14warning: variable `Social_exchange_psychology` should have a snake case name
a1dfa0c6
XL
15 --> $DIR/reasons.rs:30:9
16 |
17LL | 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 22note: the lint level is defined here
a1dfa0c6
XL
23 --> $DIR/reasons.rs:9:5
24 |
25LL | nonstandard_style,
26 | ^^^^^^^^^^^^^^^^^
416331ca 27 = note: `#[warn(non_snake_case)]` implied by `#[warn(nonstandard_style)]`
a1dfa0c6 28