From aab9cc9cfb64aea659f2f9b588e8a4f392e2c4e1 Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Fri, 18 Dec 2020 20:25:41 +0100 Subject: Hit a mark --- crates/hir_def/src/nameres/tests/diagnostics.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crates/hir_def/src/nameres/tests/diagnostics.rs') diff --git a/crates/hir_def/src/nameres/tests/diagnostics.rs b/crates/hir_def/src/nameres/tests/diagnostics.rs index 4093f8bd0..58d69d3c6 100644 --- a/crates/hir_def/src/nameres/tests/diagnostics.rs +++ b/crates/hir_def/src/nameres/tests/diagnostics.rs @@ -1,4 +1,5 @@ use base_db::fixture::WithFixture; +use test_utils::mark; use crate::test_db::TestDB; @@ -123,6 +124,7 @@ fn inactive_item() { /// Tests that `cfg` attributes behind `cfg_attr` is handled properly. #[test] fn inactive_via_cfg_attr() { + mark::check!(cfg_attr_active); check_diagnostics( r#" //- /lib.rs -- cgit v1.2.3