From c868414dcd50bbfe433cc93f8319d41e6742542c Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Wed, 12 May 2021 00:57:41 +0200 Subject: Revert "Strip delimiter from fn-like proc macro input" This reverts commit bda68e23328ca62a71da348a13c4d13cc8f991f3. --- crates/hir_expand/src/lib.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'crates/hir_expand/src/lib.rs') diff --git a/crates/hir_expand/src/lib.rs b/crates/hir_expand/src/lib.rs index 88cb16ca4..5df11856e 100644 --- a/crates/hir_expand/src/lib.rs +++ b/crates/hir_expand/src/lib.rs @@ -272,10 +272,6 @@ impl MacroDefId { }; Either::Left(*id) } - - pub fn is_proc_macro(&self) -> bool { - matches!(self.kind, MacroDefKind::ProcMacro(..)) - } } #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] -- cgit v1.2.3