diff --git a/nextest-filtering/src/expression.rs b/nextest-filtering/src/expression.rs
index 9b0265e594c..41d0efc8d31 100644
--- a/nextest-filtering/src/expression.rs
+++ b/nextest-filtering/src/expression.rs
@@ -100,7 +100,7 @@ impl fmt::Display for NameMatcher {
f,
"{}{}",
if *implicit { "" } else { "#" },
- DisplayParsedString(glob.glob_str())
+ DisplayParsedString(glob.as_str())
),
Self::Regex(r) => write!(f, "/{}/", DisplayParsedRegex(r)),
}
diff --git a/nextest-filtering/src/parsing.rs b/nextest-filtering/src/parsing.rs
index 79ee9cdba21..32b8ea29004 100644
--- a/nextest-filtering/src/parsing.rs
+++ b/nextest-filtering/src/parsing.rs
@@ -373,13 +373,6 @@ fn parse_equal_matcher(input: Span) -> IResult