Skip to content

Commit de5d5e6

Browse files
committed
Remove non-existent imports
1 parent 57e8de8 commit de5d5e6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/libsyntax/parse/parser.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ import ast::{_mod, add, alt_check, alt_exhaustive, arg, arm, attribute,
1919
bound_copy, bound_send, bound_trait, bound_owned,
2020
box, by_copy, by_move,
2121
by_mutbl_ref, by_ref, by_val, capture_clause, capture_item,
22-
carg_base, carg_ident, cdir_dir_mod, cdir_src_mod,
23-
cdir_view_item, checked_expr, claimed_expr, class_immutable,
22+
cdir_dir_mod, cdir_src_mod,
23+
cdir_view_item, class_immutable,
2424
class_member, class_method, class_mutable,
2525
crate, crate_cfg, crate_directive, decl,
2626
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,
4848
ret_style, return_val, shl, shr, stmt, stmt_decl, stmt_expr,
4949
stmt_semi, subtract, token_tree, trait_method, trait_ref,
5050
tt_delim, tt_dotdotdot, tt_flat, tt_interpolate, ty, ty_, ty_bot,
51-
ty_box, ty_constr, ty_constr_, ty_constr_arg, ty_field, ty_fn,
51+
ty_box, ty_field, ty_fn,
5252
ty_infer, ty_mac, ty_method, ty_nil, ty_param, ty_path, ty_ptr,
5353
ty_rec, ty_rptr, ty_tup, ty_u32, ty_uniq, ty_vec,
5454
ty_fixed_length,

src/rustc/middle/typeck/coherence.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import middle::typeck::infer::{new_infer_ctxt, resolve_ivar, resolve_type};
2020
import syntax::ast::{crate, def_id, def_mod, item, item_class, item_const};
2121
import syntax::ast::{item_enum, item_fn, item_foreign_mod, item_impl};
2222
import syntax::ast::{item_mac, item_mod, item_trait, item_ty, local_crate};
23-
import syntax::ast::{method, node_id, region_param, rp_none, rp_self};
23+
import syntax::ast::{method, node_id};
2424
import syntax::ast::{trait_ref};
2525
import syntax::ast_map::node_item;
2626
import syntax::ast_util::{def_id_of_def, dummy_sp, new_def_hash};

0 commit comments

Comments
 (0)