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 --- src/test/ui/lint/force-warn/allow-warnings.rs | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 src/test/ui/lint/force-warn/allow-warnings.rs (limited to 'src/test/ui/lint/force-warn/allow-warnings.rs') diff --git a/src/test/ui/lint/force-warn/allow-warnings.rs b/src/test/ui/lint/force-warn/allow-warnings.rs deleted file mode 100644 index 0199381fc..000000000 --- a/src/test/ui/lint/force-warn/allow-warnings.rs +++ /dev/null @@ -1,11 +0,0 @@ -// --force-warn $LINT causes $LINT (which is warn-by-default) to warn -// despite allowing all warnings in module -// compile-flags: --force-warn dead_code -// check-pass - -#![allow(warnings)] - -fn dead_function() {} -//~^ WARN function `dead_function` is never used - -fn main() {} -- cgit v1.2.3