Struct rustc::middle::infer::TypeTrace
[−]
[src]
pub struct TypeTrace<'tcx> {
// some fields omitted
}Unstable
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<'tcx> TypeTrace<'tcx>
fn span(&self) -> Span
Unstable
fn types(origin: TypeOrigin, a_is_expected: bool, a: Ty<'tcx>, b: Ty<'tcx>) -> TypeTrace<'tcx>
Unstable
fn dummy(tcx: &ctxt<'tcx>) -> TypeTrace<'tcx>
Unstable