summaryrefslogtreecommitdiffstats
path: root/crates/ignore/src/overrides.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ignore/src/overrides.rs')
-rw-r--r--crates/ignore/src/overrides.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/ignore/src/overrides.rs b/crates/ignore/src/overrides.rs
index fd8af95d..1b02b4d4 100644
--- a/crates/ignore/src/overrides.rs
+++ b/crates/ignore/src/overrides.rs
@@ -23,9 +23,11 @@ use crate::{
/// The lifetime `'a` refers to the lifetime of the matcher that produced
/// this glob.
#[derive(Clone, Debug)]
+#[allow(dead_code)]
pub struct Glob<'a>(GlobInner<'a>);
#[derive(Clone, Debug)]
+#[allow(dead_code)]
enum GlobInner<'a> {
/// No glob matched, but the file path should still be ignored.
UnmatchedIgnore,