diff options
author | Jonas Schievink <[email protected]> | 2021-05-11 23:57:41 +0100 |
---|---|---|
committer | Jonas Schievink <[email protected]> | 2021-05-11 23:57:41 +0100 |
commit | c868414dcd50bbfe433cc93f8319d41e6742542c (patch) | |
tree | 852aceb23512b159e24316f58ef32c2f09ed8eb7 /crates/hir_expand/src/lib.rs | |
parent | c6e2ba43bbfef80d4ecabbc9edd5be9d058f6db9 (diff) |
Revert "Strip delimiter from fn-like proc macro input"
This reverts commit bda68e23328ca62a71da348a13c4d13cc8f991f3.
Diffstat (limited to 'crates/hir_expand/src/lib.rs')
-rw-r--r-- | crates/hir_expand/src/lib.rs | 4 |
1 files changed, 0 insertions, 4 deletions
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 { | |||
272 | }; | 272 | }; |
273 | Either::Left(*id) | 273 | Either::Left(*id) |
274 | } | 274 | } |
275 | |||
276 | pub fn is_proc_macro(&self) -> bool { | ||
277 | matches!(self.kind, MacroDefKind::ProcMacro(..)) | ||
278 | } | ||
279 | } | 275 | } |
280 | 276 | ||
281 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] | 277 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] |