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/ide_ssr/src/parsing.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'crates/ide_ssr/src/parsing.rs') diff --git a/crates/ide_ssr/src/parsing.rs b/crates/ide_ssr/src/parsing.rs index 3d5e4feb7..5ff25cb6d 100644 --- a/crates/ide_ssr/src/parsing.rs +++ b/crates/ide_ssr/src/parsing.rs @@ -10,7 +10,6 @@ use crate::{SsrError, SsrPattern, SsrRule}; use rustc_hash::{FxHashMap, FxHashSet}; use std::{fmt::Display, str::FromStr}; use syntax::{ast, AstNode, SmolStr, SyntaxKind, SyntaxNode, T}; -use test_utils::mark; #[derive(Debug)] pub(crate) struct ParsedRule { @@ -131,7 +130,7 @@ impl RuleBuilder { let old_len = self.rules.len(); self.rules.retain(|rule| contains_path(&rule.pattern)); if self.rules.len() < old_len { - mark::hit!(pattern_is_a_single_segment_path); + cov_mark::hit!(pattern_is_a_single_segment_path); } } Ok(self.rules) -- cgit v1.2.3