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/item_scope.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'crates/hir_def/src/item_scope.rs') diff --git a/crates/hir_def/src/item_scope.rs b/crates/hir_def/src/item_scope.rs index 4e5daa2ff..919933813 100644 --- a/crates/hir_def/src/item_scope.rs +++ b/crates/hir_def/src/item_scope.rs @@ -9,7 +9,6 @@ use hir_expand::MacroDefKind; use once_cell::sync::Lazy; use rustc_hash::{FxHashMap, FxHashSet}; use stdx::format_to; -use test_utils::mark; use crate::{ db::DefDatabase, per_ns::PerNs, visibility::Visibility, AdtId, BuiltinType, ImplId, @@ -237,7 +236,7 @@ impl ItemScope { if $glob_imports.$field.contains(&$lookup) && matches!($def_import_type, ImportType::Named) => { - mark::hit!(import_shadowed); + cov_mark::hit!(import_shadowed); $glob_imports.$field.remove(&$lookup); if let Some(fld) = $def.$field { entry.insert(fld); -- cgit v1.2.3