aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_expand/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/hir_expand/src')
-rw-r--r--crates/hir_expand/src/lib.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/crates/hir_expand/src/lib.rs b/crates/hir_expand/src/lib.rs
index d7391ebad..b8045fda9 100644
--- a/crates/hir_expand/src/lib.rs
+++ b/crates/hir_expand/src/lib.rs
@@ -207,13 +207,6 @@ impl HirFileId {
207 } 207 }
208 false 208 false
209 } 209 }
210
211 pub fn is_macro_file(&self) -> bool {
212 match self.0 {
213 HirFileIdRepr::MacroFile(_) => true,
214 HirFileIdRepr::FileId(_) => false,
215 }
216 }
217} 210}
218 211
219#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] 212#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]