diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 6bcf22c82206..9d2fb9474512 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -19,8 +19,8 @@ import ast::{_mod, add, alt_check, alt_exhaustive, arg, arm, attribute, bound_copy, bound_send, bound_trait, bound_owned, box, by_copy, by_move, by_mutbl_ref, by_ref, by_val, capture_clause, capture_item, - carg_base, carg_ident, cdir_dir_mod, cdir_src_mod, - cdir_view_item, checked_expr, claimed_expr, class_immutable, + cdir_dir_mod, cdir_src_mod, + cdir_view_item, class_immutable, class_member, class_method, class_mutable, crate, crate_cfg, crate_directive, decl, decl_item, decl_local, default_blk, deref, div, expl, expr, @@ -48,7 +48,7 @@ import ast::{_mod, add, alt_check, alt_exhaustive, arg, arm, attribute, ret_style, return_val, shl, shr, stmt, stmt_decl, stmt_expr, stmt_semi, subtract, token_tree, trait_method, trait_ref, tt_delim, tt_dotdotdot, tt_flat, tt_interpolate, ty, ty_, ty_bot, - ty_box, ty_constr, ty_constr_, ty_constr_arg, ty_field, ty_fn, + ty_box, ty_field, ty_fn, ty_infer, ty_mac, ty_method, ty_nil, ty_param, ty_path, ty_ptr, ty_rec, ty_rptr, ty_tup, ty_u32, ty_uniq, ty_vec, ty_fixed_length, diff --git a/src/rustc/middle/typeck/coherence.rs b/src/rustc/middle/typeck/coherence.rs index 43f86ed92681..05bd7b7fac83 100644 --- a/src/rustc/middle/typeck/coherence.rs +++ b/src/rustc/middle/typeck/coherence.rs @@ -20,7 +20,7 @@ import middle::typeck::infer::{new_infer_ctxt, resolve_ivar, resolve_type}; import syntax::ast::{crate, def_id, def_mod, item, item_class, item_const}; import syntax::ast::{item_enum, item_fn, item_foreign_mod, item_impl}; import syntax::ast::{item_mac, item_mod, item_trait, item_ty, local_crate}; -import syntax::ast::{method, node_id, region_param, rp_none, rp_self}; +import syntax::ast::{method, node_id}; import syntax::ast::{trait_ref}; import syntax::ast_map::node_item; import syntax::ast_util::{def_id_of_def, dummy_sp, new_def_hash};