auto merge of #5004 : luqmana/rust/rename-use-import, r=catamorphism

Seems like my previous pull request got lost along the way somehow. So here it is updated.
This commit is contained in:
bors
2013-02-18 17:48:34 -08:00
11 changed files with 44 additions and 41 deletions

View File

@@ -319,7 +319,7 @@ pub impl ext_ctxt_ast_builder for ext_ctxt {
// XXX: Total hack: import `core::kinds::Owned` to work around a
// parser bug whereby `fn f<T: ::kinds::Owned>` doesn't parse.
let vi = ast::view_item_import(~[
let vi = ast::view_item_use(~[
@codemap::spanned {
node: ast::view_path_simple(
self.ident_of(~"Owned"),