Skip to content

Commit 6f781dd

Browse files
committed
---
yaml --- r: 276107 b: refs/heads/master c: 86f069d h: refs/heads/master i: 276105: 4c4b0a1 276103: fd03f10
1 parent 923b395 commit 6f781dd

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 5eb775eedd64d3b3abab63a8ef39ca9664f4cad0
2+
refs/heads/master: 86f069d41a89122740d58d0eb8eaeb7496bb03ce
33
refs/heads/snap-stage3: 235d77457d80b549dad3ac36d94f235208a1eafb
44
refs/heads/try: 49312a405e14a449b98fe0056b12a40ac128be4a
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

trunk/src/libsyntax/ext/expand.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -309,9 +309,7 @@ macro_rules! with_exts_frame {
309309
// When we enter a module, record it, for the sake of `module!`
310310
pub fn expand_item(it: P<ast::Item>, fld: &mut MacroExpander)
311311
-> SmallVector<P<ast::Item>> {
312-
let it = expand_item_multi_modifier(Annotatable::Item(it), fld);
313-
314-
expand_annotatable(it, fld)
312+
expand_annotatable(Annotatable::Item(it), fld)
315313
.into_iter().map(|i| i.expect_item()).collect()
316314
}
317315

0 commit comments

Comments
 (0)