[−][src]Struct rustc_typeck::check::generator_interior::InteriorVisitor

struct InteriorVisitor<'a, 'tcx> {
    fcx: &'a FnCtxt<'a, 'tcx>,
    types: FxIndexSet<GeneratorInteriorTypeCause<'tcx>>,
    region_scope_tree: &'tcx ScopeTree,
    expr_count: usize,
    kind: GeneratorKind,
    prev_unresolved_span: Option<Span>,
}

Fields

fcx: &'a FnCtxt<'a, 'tcx>types: FxIndexSet<GeneratorInteriorTypeCause<'tcx>>region_scope_tree: &'tcx ScopeTreeexpr_count: usizekind: GeneratorKindprev_unresolved_span: Option<Span>

Implementations

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

fn record(
    &mut self,
    ty: Ty<'tcx>,
    scope: Option<Scope>,
    expr: Option<&'tcx Expr<'tcx>>,
    source_span: Span
)
[src]

Trait Implementations

impl<'a, 'tcx> Visitor<'tcx> for InteriorVisitor<'a, 'tcx>[src]

type Map = ErasedMap<'tcx>

Auto Trait Implementations

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

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

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

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

impl<'a, 'tcx> !UnwindSafe for InteriorVisitor<'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]