From d4e26fbb5301b465a037c4d2ff54024ebd7f73d8 Mon Sep 17 00:00:00 2001 From: Urgau Date: Sun, 7 Apr 2024 00:33:37 +0200 Subject: compiletest: add enable-by-default check-cfg --- tests/ui/rust-2018/issue-54400-unused-extern-crate-attr-span.fixed | 2 +- tests/ui/rust-2018/issue-54400-unused-extern-crate-attr-span.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/ui/rust-2018') diff --git a/tests/ui/rust-2018/issue-54400-unused-extern-crate-attr-span.fixed b/tests/ui/rust-2018/issue-54400-unused-extern-crate-attr-span.fixed index f4506dd929e..878d1dc72cc 100644 --- a/tests/ui/rust-2018/issue-54400-unused-extern-crate-attr-span.fixed +++ b/tests/ui/rust-2018/issue-54400-unused-extern-crate-attr-span.fixed @@ -4,7 +4,7 @@ //@ edition:2018 #![deny(rust_2018_idioms)] -#![allow(dead_code)] +#![allow(dead_code, unexpected_cfgs)] // The suggestion span should include the attribute. diff --git a/tests/ui/rust-2018/issue-54400-unused-extern-crate-attr-span.rs b/tests/ui/rust-2018/issue-54400-unused-extern-crate-attr-span.rs index 4f1cb71dc51..573942bd095 100644 --- a/tests/ui/rust-2018/issue-54400-unused-extern-crate-attr-span.rs +++ b/tests/ui/rust-2018/issue-54400-unused-extern-crate-attr-span.rs @@ -4,7 +4,7 @@ //@ edition:2018 #![deny(rust_2018_idioms)] -#![allow(dead_code)] +#![allow(dead_code, unexpected_cfgs)] // The suggestion span should include the attribute. -- cgit 1.4.1-3-g733a5