Skip to content

Commit 42198c1

Browse files
committed
Test fixes and rebase conflicts
1 parent 5f32992 commit 42198c1

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

src/librustc_typeck/coherence/impls.rs

-3
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,10 @@
1111
//! Implementations checker: builtin traits and default impls are allowed just
1212
//! for structs and enums.
1313
14-
use middle::def;
1514
use middle::ty;
1615
use syntax::ast::{Item, ItemImpl};
1716
use syntax::ast;
18-
use syntax::ast_util;
1917
use syntax::visit;
20-
use util::ppaux::UserString;
2118

2219
pub fn check(tcx: &ty::ctxt) {
2320
let mut impls = ImplsChecker { tcx: tcx };

src/libsyntax/parse/parser.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ use ast::{SelfExplicit, SelfRegion, SelfStatic, SelfValue};
5252
use ast::{Delimited, SequenceRepetition, TokenTree, TraitItem, TraitRef};
5353
use ast::{TtDelimited, TtSequence, TtToken};
5454
use ast::{TupleVariantKind, Ty, Ty_, TypeBinding};
55-
use ast::{TypeField, TyFixedLengthVec, TyBareFn};
55+
use ast::{TyFixedLengthVec, TyBareFn};
5656
use ast::{TyTypeof, TyInfer, TypeMethod};
5757
use ast::{TyParam, TyParamBound, TyParen, TyPath, TyPolyTraitRef, TyPtr, TyQPath};
5858
use ast::{TyRptr, TyTup, TyU32, TyVec, UnUniq};

src/test/run-make/tools.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ endif
5151

5252
# Extra flags needed to compile a working executable with the standard library
5353
ifdef IS_WINDOWS
54-
EXTRACFLAGS :=
54+
EXTRACFLAGS := -lws2_32
5555
else
5656
ifeq ($(shell uname),Darwin)
5757
else

0 commit comments

Comments
 (0)