Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 28659cf

Browse files
author
Jonathan S
committedDec 30, 2014
Cleanup unused imports resulting from move of reduced graph building
1 parent be00b9d commit 28659cf

File tree

1 file changed

+11
-14
lines changed

1 file changed

+11
-14
lines changed
 

‎src/librustc_resolve/lib.rs

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -58,34 +58,31 @@ use rustc::util::nodemap::{NodeMap, NodeSet, DefIdSet, FnvHashMap};
5858
use rustc::util::lev_distance::lev_distance;
5959

6060
use syntax::ast::{Arm, BindByRef, BindByValue, BindingMode, Block, Crate, CrateNum};
61-
use syntax::ast::{DeclItem, DefId, Expr, ExprAgain, ExprBreak, ExprField};
61+
use syntax::ast::{DefId, Expr, ExprAgain, ExprBreak, ExprField};
6262
use syntax::ast::{ExprClosure, ExprForLoop, ExprLoop, ExprWhile, ExprMethodCall};
6363
use syntax::ast::{ExprPath, ExprStruct, FnDecl};
64-
use syntax::ast::{ForeignItem, ForeignItemFn, ForeignItemStatic, Generics};
64+
use syntax::ast::{ForeignItemFn, ForeignItemStatic, Generics};
6565
use syntax::ast::{Ident, ImplItem, Item, ItemConst, ItemEnum, ItemFn};
6666
use syntax::ast::{ItemForeignMod, ItemImpl, ItemMac, ItemMod, ItemStatic};
6767
use syntax::ast::{ItemStruct, ItemTrait, ItemTy, Local, LOCAL_CRATE};
68-
use syntax::ast::{MethodImplItem, Mod, Name, NamedField, NodeId};
68+
use syntax::ast::{MethodImplItem, Mod, Name, NodeId};
6969
use syntax::ast::{Pat, PatEnum, PatIdent, PatLit};
70-
use syntax::ast::{PatRange, PatStruct, Path, PathListIdent, PathListMod};
71-
use syntax::ast::{PolyTraitRef, PrimTy, Public, SelfExplicit, SelfStatic};
72-
use syntax::ast::{RegionTyParamBound, StmtDecl, StructField};
73-
use syntax::ast::{StructVariantKind, TraitRef, TraitTyParamBound};
74-
use syntax::ast::{TupleVariantKind, Ty, TyBool, TyChar, TyClosure, TyF32};
70+
use syntax::ast::{PatRange, PatStruct, Path};
71+
use syntax::ast::{PolyTraitRef, PrimTy, SelfExplicit};
72+
use syntax::ast::{RegionTyParamBound, StructField};
73+
use syntax::ast::{TraitRef, TraitTyParamBound};
74+
use syntax::ast::{Ty, TyBool, TyChar, TyClosure, TyF32};
7575
use syntax::ast::{TyF64, TyFloat, TyI, TyI8, TyI16, TyI32, TyI64, TyInt, TyObjectSum};
7676
use syntax::ast::{TyParam, TyParamBound, TyPath, TyPtr, TyPolyTraitRef, TyQPath};
7777
use syntax::ast::{TyRptr, TyStr, TyU, TyU8, TyU16, TyU32, TyU64, TyUint};
78-
use syntax::ast::{TypeImplItem, UnnamedField};
79-
use syntax::ast::{Variant, ViewItem, ViewItemExternCrate};
80-
use syntax::ast::{ViewItemUse, ViewPathGlob, ViewPathList, ViewPathSimple};
81-
use syntax::ast::{Visibility};
78+
use syntax::ast::{TypeImplItem};
8279
use syntax::ast;
8380
use syntax::ast_map;
84-
use syntax::ast_util::{mod, PostExpansionMethod, local_def, walk_pat};
81+
use syntax::ast_util::{PostExpansionMethod, local_def, walk_pat};
8582
use syntax::attr::AttrMetaMethods;
8683
use syntax::ext::mtwt;
8784
use syntax::parse::token::{mod, special_names, special_idents};
88-
use syntax::codemap::{Span, DUMMY_SP, Pos};
85+
use syntax::codemap::{Span, Pos};
8986
use syntax::owned_slice::OwnedSlice;
9087
use syntax::visit::{mod, Visitor};
9188

0 commit comments

Comments
 (0)
Please sign in to comment.