From a4b7ed7a42c716ab9f05e351f003d589124fd55d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:18:58 +0200 Subject: Adding upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- src/test/ui/lint/reasons.stderr | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 src/test/ui/lint/reasons.stderr (limited to 'src/test/ui/lint/reasons.stderr') diff --git a/src/test/ui/lint/reasons.stderr b/src/test/ui/lint/reasons.stderr deleted file mode 100644 index cd8412153..000000000 --- a/src/test/ui/lint/reasons.stderr +++ /dev/null @@ -1,36 +0,0 @@ -warning: hidden lifetime parameters in types are deprecated - --> $DIR/reasons.rs:20:34 - | -LL | fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { - | -----^^^^^^^^^ - | | - | expected lifetime parameter - | - = note: explicit anonymous lifetimes aid reasoning about ownership -note: the lint level is defined here - --> $DIR/reasons.rs:4:9 - | -LL | #![warn(elided_lifetimes_in_paths, - | ^^^^^^^^^^^^^^^^^^^^^^^^^ -help: indicate the anonymous lifetime - | -LL | fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { - | ++++ - -warning: variable `Social_exchange_psychology` should have a snake case name - --> $DIR/reasons.rs:30:9 - | -LL | let Social_exchange_psychology = CheaterDetectionMechanism {}; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `social_exchange_psychology` - | - = note: people shouldn't have to change their usual style habits - to contribute to our project -note: the lint level is defined here - --> $DIR/reasons.rs:8:5 - | -LL | nonstandard_style, - | ^^^^^^^^^^^^^^^^^ - = note: `#[warn(non_snake_case)]` implied by `#[warn(nonstandard_style)]` - -warning: 2 warnings emitted - -- cgit v1.2.3