Module rustc::traits::error_reporting[][src]

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Re-exports

use super::FulfillmentError;
use super::FulfillmentErrorCode;
use super::MismatchedProjectionTypes;
use super::Obligation;
use super::ObligationCause;
use super::ObligationCauseCode;
use super::OnUnimplementedDirective;
use super::OnUnimplementedNote;
use super::OutputTypeParameterMismatch;
use super::TraitNotObjectSafe;
use super::ConstEvalFailure;
use super::PredicateObligation;
use super::SelectionContext;
use super::SelectionError;
use super::ObjectSafetyViolation;
use super::Overflow;
use errors::Applicability;
use errors::DiagnosticBuilder;
use hir;
use hir::def_id::DefId;
use infer;
use infer::InferCtxt;
use infer::type_variable::TypeVariableOrigin;
use std::fmt;
use syntax::ast;
use session::DiagnosticMessageId;
use ty;
use ty::AdtKind;
use ty::ToPredicate;
use ty::ToPolyTraitRef;
use ty::Ty;
use ty::TyCtxt;
use ty::TypeFoldable;
use ty::GenericParamDefKind;
use ty::error::ExpectedFound;
use ty::fast_reject;
use ty::fold::TypeFolder;
use ty::subst::Subst;
use ty::SubtypePredicate;
use util::nodemap::FxHashMap;
use util::nodemap::FxHashMap;
use util::nodemap::FxHashSet;
use util::nodemap::FxHashSet;
use syntax_pos::DUMMY_SP;
use syntax_pos::Span;

Enums

ArgKind [
Experimental
]

Summarizes information