From fc9eed4836dfc88fe2893c81b015ab440cea2ba6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Mon, 8 Mar 2021 22:19:44 +0200 Subject: Use upstream cov-mark --- crates/hir_def/src/nameres/tests/diagnostics.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (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 e8e72e5ef..d5ef8ceb5 100644 --- a/crates/hir_def/src/nameres/tests/diagnostics.rs +++ b/crates/hir_def/src/nameres/tests/diagnostics.rs @@ -1,5 +1,4 @@ use base_db::fixture::WithFixture; -use test_utils::mark; use crate::test_db::TestDB; @@ -63,7 +62,7 @@ fn unresolved_extern_crate() { #[test] fn extern_crate_self_as() { - mark::check!(extern_crate_self_as); + cov_mark::check!(extern_crate_self_as); check_diagnostics( r" //- /lib.rs @@ -140,7 +139,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); + cov_mark::check!(cfg_attr_active); check_diagnostics( r#" //- /lib.rs -- cgit v1.2.3