summaryrefslogtreecommitdiff
path: root/src/macro_rules/eval.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2018-05-20 15:02:17 +0800
committerJohn Hodge <tpg@mutabah.net>2018-05-20 15:02:17 +0800
commit1c50e757b45f64ead016d6cd2bf27585ba5dce04 (patch)
treeb90d54a4698355112aa9204da15b5b7f7ff940d2 /src/macro_rules/eval.cpp
parent7a4733c76c0391578fe04fde9cfa19698878c81e (diff)
downloadmrust-1c50e757b45f64ead016d6cd2bf27585ba5dce04.tar.gz
AST - Rename MetaItem and MetaItems to Attribute and AttributeList
Diffstat (limited to 'src/macro_rules/eval.cpp')
-rw-r--r--src/macro_rules/eval.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/macro_rules/eval.cpp b/src/macro_rules/eval.cpp
index 9372fa6e..b2f5e409 100644
--- a/src/macro_rules/eval.cpp
+++ b/src/macro_rules/eval.cpp
@@ -712,7 +712,7 @@ InterpolatedFragment Macro_HandlePatternCap(TokenStream& lex, MacroPatEnt::Type
case MacroPatEnt::PAT_ITEM: {
assert( lex.parse_state().module );
const auto& cur_mod = *lex.parse_state().module;
- return InterpolatedFragment( Parse_Mod_Item_S(lex, cur_mod.m_file_info, cur_mod.path(), AST::MetaItems{}) );
+ return InterpolatedFragment( Parse_Mod_Item_S(lex, cur_mod.m_file_info, cur_mod.path(), AST::AttributeList{}) );
} break;
case MacroPatEnt::PAT_IDENT:
// TODO: Any reserved word is also valid as an ident