mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 12:13:43 +00:00
Test fixes and rebase conflicts
This commit is contained in:
parent
5f32992b31
commit
42198c18f4
@ -11,13 +11,10 @@
|
|||||||
//! Implementations checker: builtin traits and default impls are allowed just
|
//! Implementations checker: builtin traits and default impls are allowed just
|
||||||
//! for structs and enums.
|
//! for structs and enums.
|
||||||
|
|
||||||
use middle::def;
|
|
||||||
use middle::ty;
|
use middle::ty;
|
||||||
use syntax::ast::{Item, ItemImpl};
|
use syntax::ast::{Item, ItemImpl};
|
||||||
use syntax::ast;
|
use syntax::ast;
|
||||||
use syntax::ast_util;
|
|
||||||
use syntax::visit;
|
use syntax::visit;
|
||||||
use util::ppaux::UserString;
|
|
||||||
|
|
||||||
pub fn check(tcx: &ty::ctxt) {
|
pub fn check(tcx: &ty::ctxt) {
|
||||||
let mut impls = ImplsChecker { tcx: tcx };
|
let mut impls = ImplsChecker { tcx: tcx };
|
||||||
|
@ -52,7 +52,7 @@ use ast::{SelfExplicit, SelfRegion, SelfStatic, SelfValue};
|
|||||||
use ast::{Delimited, SequenceRepetition, TokenTree, TraitItem, TraitRef};
|
use ast::{Delimited, SequenceRepetition, TokenTree, TraitItem, TraitRef};
|
||||||
use ast::{TtDelimited, TtSequence, TtToken};
|
use ast::{TtDelimited, TtSequence, TtToken};
|
||||||
use ast::{TupleVariantKind, Ty, Ty_, TypeBinding};
|
use ast::{TupleVariantKind, Ty, Ty_, TypeBinding};
|
||||||
use ast::{TypeField, TyFixedLengthVec, TyBareFn};
|
use ast::{TyFixedLengthVec, TyBareFn};
|
||||||
use ast::{TyTypeof, TyInfer, TypeMethod};
|
use ast::{TyTypeof, TyInfer, TypeMethod};
|
||||||
use ast::{TyParam, TyParamBound, TyParen, TyPath, TyPolyTraitRef, TyPtr, TyQPath};
|
use ast::{TyParam, TyParamBound, TyParen, TyPath, TyPolyTraitRef, TyPtr, TyQPath};
|
||||||
use ast::{TyRptr, TyTup, TyU32, TyVec, UnUniq};
|
use ast::{TyRptr, TyTup, TyU32, TyVec, UnUniq};
|
||||||
|
@ -51,7 +51,7 @@ endif
|
|||||||
|
|
||||||
# Extra flags needed to compile a working executable with the standard library
|
# Extra flags needed to compile a working executable with the standard library
|
||||||
ifdef IS_WINDOWS
|
ifdef IS_WINDOWS
|
||||||
EXTRACFLAGS :=
|
EXTRACFLAGS := -lws2_32
|
||||||
else
|
else
|
||||||
ifeq ($(shell uname),Darwin)
|
ifeq ($(shell uname),Darwin)
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user