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 --- .../lint/force-warn/lint-group-allowed-lint-group.rs | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 src/test/ui/lint/force-warn/lint-group-allowed-lint-group.rs (limited to 'src/test/ui/lint/force-warn/lint-group-allowed-lint-group.rs') diff --git a/src/test/ui/lint/force-warn/lint-group-allowed-lint-group.rs b/src/test/ui/lint/force-warn/lint-group-allowed-lint-group.rs deleted file mode 100644 index ee5a18c38..000000000 --- a/src/test/ui/lint/force-warn/lint-group-allowed-lint-group.rs +++ /dev/null @@ -1,18 +0,0 @@ -// --force-warn $LINT_GROUP causes $LINT to warn despite -// $LINT_GROUP being allowed in module -// compile-flags: --force-warn rust_2018_idioms -// check-pass - -#![allow(rust_2018_idioms)] - -pub trait SomeTrait {} - -pub fn function(_x: Box) {} -//~^ WARN trait objects without an explicit `dyn` are deprecated -//~| WARN this is accepted in the current edition -//~| WARN trait objects without an explicit `dyn` are deprecated -//~| WARN this is accepted in the current edition -//~| WARN trait objects without an explicit `dyn` are deprecated -//~| WARN this is accepted in the current edition - -fn main() {} -- cgit v1.2.3