Struct rustc::infer::TypeTrace
[−]
[src]
pub struct TypeTrace<'tcx> {
// some fields omitted
}Unstable (
rustc_private)The trace designates the path through inference that we took to encounter an error or subtyping constraint.
See error_reporting.rs for more details.
Methods
impl<'a, 'gcx, 'tcx> TypeTrace<'tcx>[src]
fn span(&self) -> Span
fn types(origin: TypeOrigin, a_is_expected: bool, a: Ty<'tcx>, b: Ty<'tcx>) -> TypeTrace<'tcx>
fn dummy(tcx: TyCtxt<'a, 'gcx, 'tcx>) -> TypeTrace<'tcx>
Trait Implementations
impl<'tcx> Debug for TypeTrace<'tcx>[src]
Derived Implementations
impl<'tcx> Clone for TypeTrace<'tcx>[src]
fn clone(&self) -> TypeTrace<'tcx>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more