From 64d98f8ee037282c35007b64c2649055c56af1db Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:03 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- ...es-in-inherent-method-argument-and-return.stderr | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 src/test/ui/single-use-lifetime/two-uses-in-inherent-method-argument-and-return.stderr (limited to 'src/test/ui/single-use-lifetime/two-uses-in-inherent-method-argument-and-return.stderr') diff --git a/src/test/ui/single-use-lifetime/two-uses-in-inherent-method-argument-and-return.stderr b/src/test/ui/single-use-lifetime/two-uses-in-inherent-method-argument-and-return.stderr deleted file mode 100644 index 4794566ea..000000000 --- a/src/test/ui/single-use-lifetime/two-uses-in-inherent-method-argument-and-return.stderr +++ /dev/null @@ -1,21 +0,0 @@ -error: lifetime parameter `'f` only used once - --> $DIR/two-uses-in-inherent-method-argument-and-return.rs:12:6 - | -LL | impl<'f> Foo<'f> { - | ^^ -- ...is used only here - | | - | this lifetime... - | -note: the lint level is defined here - --> $DIR/two-uses-in-inherent-method-argument-and-return.rs:4:9 - | -LL | #![deny(single_use_lifetimes)] - | ^^^^^^^^^^^^^^^^^^^^ -help: elide the single-use lifetime - | -LL - impl<'f> Foo<'f> { -LL + impl Foo<'_> { - | - -error: aborting due to previous error - -- cgit v1.2.3