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/proc_macro.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/hir_expand/src/proc_macro.rs b/crates/hir_expand/src/proc_macro.rs
index 3ad2d3bf7..025e10239 100644
--- a/crates/hir_expand/src/proc_macro.rs
+++ b/crates/hir_expand/src/proc_macro.rs
@@ -45,7 +45,6 @@ impl ProcMacroExpander {
45 let proc_macro = krate_graph[self.krate] 45 let proc_macro = krate_graph[self.krate]
46 .proc_macro 46 .proc_macro
47 .get(id.0 as usize) 47 .get(id.0 as usize)
48 .clone()
49 .ok_or_else(|| err!("No derive macro found."))?; 48 .ok_or_else(|| err!("No derive macro found."))?;
50 49
51 // Proc macros have access to the environment variables of the invoking crate. 50 // Proc macros have access to the environment variables of the invoking crate.