We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
expand_item_multi_modifier
1 parent 5eb775e commit 86f069dCopy full SHA for 86f069d
src/libsyntax/ext/expand.rs
@@ -309,9 +309,7 @@ macro_rules! with_exts_frame {
309
// When we enter a module, record it, for the sake of `module!`
310
pub fn expand_item(it: P<ast::Item>, fld: &mut MacroExpander)
311
-> SmallVector<P<ast::Item>> {
312
- let it = expand_item_multi_modifier(Annotatable::Item(it), fld);
313
-
314
- expand_annotatable(it, fld)
+ expand_annotatable(Annotatable::Item(it), fld)
315
.into_iter().map(|i| i.expect_item()).collect()
316
}
317
0 commit comments