[−][src]Struct rustc_infer::infer::resolve::UnresolvedTypeFinder

pub struct UnresolvedTypeFinder<'a, 'tcx> {
    infcx: &'a InferCtxt<'a, 'tcx>,
}

The unresolved type finder walks a type searching for type variables that don't yet have a value. The first unresolved type is stored. It does not construct the fully resolved type (which might involve some hashing and so forth).

Fields

infcx: &'a InferCtxt<'a, 'tcx>

Implementations

impl<'a, 'tcx> UnresolvedTypeFinder<'a, 'tcx>[src]

pub fn new(infcx: &'a InferCtxt<'a, 'tcx>) -> Self[src]

Trait Implementations

impl<'a, 'tcx> TypeVisitor<'tcx> for UnresolvedTypeFinder<'a, 'tcx>[src]

type BreakTy = (Ty<'tcx>, Option<Span>)

Auto Trait Implementations

impl<'a, 'tcx> !RefUnwindSafe for UnresolvedTypeFinder<'a, 'tcx>

impl<'a, 'tcx> !Send for UnresolvedTypeFinder<'a, 'tcx>

impl<'a, 'tcx> !Sync for UnresolvedTypeFinder<'a, 'tcx>

impl<'a, 'tcx> Unpin for UnresolvedTypeFinder<'a, 'tcx> where
    'tcx: 'a, 

impl<'a, 'tcx> !UnwindSafe for UnresolvedTypeFinder<'a, 'tcx>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

impl<'a, T> Captures<'a> for T where
    T: ?Sized, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> WithConstness for T[src]