diff options
| author | bors <bors@rust-lang.org> | 2014-07-20 21:06:32 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-07-20 21:06:32 +0000 |
| commit | 8748a69e6cf6d6e922ddf07bd9ef69a67ebc83b6 (patch) | |
| tree | 34f624a347bb990cc26d92d8ef7077ab8db25898 /src/libsyntax/ext | |
| parent | c4dd47df3477b224f0bf8d89a48f1ce57ec0dbd7 (diff) | |
| parent | 4b9bc2e8f268dfe2a2462c4e378e5a0eeefa2cf4 (diff) | |
| download | rust-8748a69e6cf6d6e922ddf07bd9ef69a67ebc83b6.tar.gz rust-8748a69e6cf6d6e922ddf07bd9ef69a67ebc83b6.zip | |
auto merge of #15808 : jakub-/rust/use-mod, r=alexcrichton
Implements RFC #168.
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 4d3913da365..7d683382589 100644 --- a/src/libsyntax/ext/build.rs +++ b/src/libsyntax/ext/build.rs @@ -1045,7 +1045,7 @@ impl<'a> AstBuilder for ExtCtxt<'a> { fn view_use_list(&self, sp: Span, vis: ast::Visibility, path: Vec<ast::Ident> , imports: &[ast::Ident]) -> ast::ViewItem { let imports = imports.iter().map(|id| { - respan(sp, ast::PathListIdent_ { name: *id, id: ast::DUMMY_NODE_ID }) + respan(sp, ast::PathListIdent { name: *id, id: ast::DUMMY_NODE_ID }) }).collect(); self.view_use(sp, vis, |
