aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/expand/rust-macro-expand.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/expand/rust-macro-expand.h')
-rw-r--r--gcc/rust/expand/rust-macro-expand.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/rust/expand/rust-macro-expand.h b/gcc/rust/expand/rust-macro-expand.h
index f83de95..d52d070 100644
--- a/gcc/rust/expand/rust-macro-expand.h
+++ b/gcc/rust/expand/rust-macro-expand.h
@@ -407,7 +407,7 @@ struct MacroExpander
void import_proc_macros (std::string extern_crate);
template <typename T>
- AST::Fragment expand_derive_proc_macro (T &item, ProcMacroInvocable &path)
+ AST::Fragment expand_derive_proc_macro (T &item, AST::SimplePath &path)
{
ProcMacro::CustomDerive macro;
if (!mappings->lookup_derive_proc_macro_invocation (path, macro))
@@ -448,7 +448,7 @@ struct MacroExpander
}
template <typename T>
- AST::Fragment expand_attribute_proc_macro (T &item, ProcMacroInvocable &path)
+ AST::Fragment expand_attribute_proc_macro (T &item, AST::SimplePath &path)
{
ProcMacro::Attribute macro;
if (!mappings->lookup_attribute_proc_macro_invocation (path, macro))