diff options
| author | bors <bors@rust-lang.org> | 2015-08-10 20:24:06 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-08-10 20:24:06 +0000 |
| commit | 8856927f649d9ce80ff52377ac2389a2798a7033 (patch) | |
| tree | e473c97032df74a645b8c13fac35ec786e5046b0 /src/libsyntax/ext | |
| parent | 3d69bec88119e0471a98cd2075fcf53c43ebca3e (diff) | |
| parent | cfcd449c4c36c68541c3389878e3262dac5e4746 (diff) | |
| download | rust-8856927f649d9ce80ff52377ac2389a2798a7033.tar.gz rust-8856927f649d9ce80ff52377ac2389a2798a7033.zip | |
Auto merge of #27451 - seanmonstar:use-groups-as, r=alexcrichton
An implementation of [RFC 1219](https://github.com/rust-lang/rfcs/pull/1219). The RFC is not merged yet, but once merged, this could be.
Diffstat (limited to 'src/libsyntax/ext')
| -rw-r--r-- | src/libsyntax/ext/build.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ext/build.rs b/src/libsyntax/ext/build.rs index 2061165abd2..771ac85ef19 100644 --- a/src/libsyntax/ext/build.rs +++ b/src/libsyntax/ext/build.rs @@ -1141,7 +1141,7 @@ impl<'a> AstBuilder for ExtCtxt<'a> { fn item_use_list(&self, sp: Span, vis: ast::Visibility, path: Vec<ast::Ident>, imports: &[ast::Ident]) -> P<ast::Item> { let imports = imports.iter().map(|id| { - respan(sp, ast::PathListIdent { name: *id, id: ast::DUMMY_NODE_ID }) + respan(sp, ast::PathListIdent { name: *id, rename: None, id: ast::DUMMY_NODE_ID }) }).collect(); self.item_use(sp, vis, |
