diff options
Diffstat (limited to 'crates/hir_def/src/nameres')
-rw-r--r-- | crates/hir_def/src/nameres/tests/diagnostics.rs | 2 |
1 files changed, 2 insertions, 0 deletions
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 @@ | |||
1 | use base_db::fixture::WithFixture; | 1 | use base_db::fixture::WithFixture; |
2 | use test_utils::mark; | ||
2 | 3 | ||
3 | use crate::test_db::TestDB; | 4 | use crate::test_db::TestDB; |
4 | 5 | ||
@@ -123,6 +124,7 @@ fn inactive_item() { | |||
123 | /// Tests that `cfg` attributes behind `cfg_attr` is handled properly. | 124 | /// Tests that `cfg` attributes behind `cfg_attr` is handled properly. |
124 | #[test] | 125 | #[test] |
125 | fn inactive_via_cfg_attr() { | 126 | fn inactive_via_cfg_attr() { |
127 | mark::check!(cfg_attr_active); | ||
126 | check_diagnostics( | 128 | check_diagnostics( |
127 | r#" | 129 | r#" |
128 | //- /lib.rs | 130 | //- /lib.rs |