Test fixes and rebase conflicts

This commit is contained in:
Alex Crichton 2015-01-15 15:01:31 -08:00
parent 5f32992b31
commit 42198c18f4
3 changed files with 2 additions and 5 deletions

View File

@ -11,13 +11,10 @@
//! Implementations checker: builtin traits and default impls are allowed just
//! for structs and enums.
use middle::def;
use middle::ty;
use syntax::ast::{Item, ItemImpl};
use syntax::ast;
use syntax::ast_util;
use syntax::visit;
use util::ppaux::UserString;
pub fn check(tcx: &ty::ctxt) {
let mut impls = ImplsChecker { tcx: tcx };

View File

@ -52,7 +52,7 @@ use ast::{SelfExplicit, SelfRegion, SelfStatic, SelfValue};
use ast::{Delimited, SequenceRepetition, TokenTree, TraitItem, TraitRef};
use ast::{TtDelimited, TtSequence, TtToken};
use ast::{TupleVariantKind, Ty, Ty_, TypeBinding};
use ast::{TypeField, TyFixedLengthVec, TyBareFn};
use ast::{TyFixedLengthVec, TyBareFn};
use ast::{TyTypeof, TyInfer, TypeMethod};
use ast::{TyParam, TyParamBound, TyParen, TyPath, TyPolyTraitRef, TyPtr, TyQPath};
use ast::{TyRptr, TyTup, TyU32, TyVec, UnUniq};

View File

@ -51,7 +51,7 @@ endif
# Extra flags needed to compile a working executable with the standard library
ifdef IS_WINDOWS
EXTRACFLAGS :=
EXTRACFLAGS := -lws2_32
else
ifeq ($(shell uname),Darwin)
else