[−][src]Struct rustc_typeck::check::gather_locals::GatherLocalsVisitor

pub(in check) struct GatherLocalsVisitor<'a, 'tcx> {
    fcx: &'a FnCtxt<'a, 'tcx>,
    parent_id: HirId,
    outermost_fn_param_pat: bool,
}

Fields

fcx: &'a FnCtxt<'a, 'tcx>parent_id: HirIdoutermost_fn_param_pat: bool

Implementations

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

pub(in check) fn new(
    fcx: &'a FnCtxt<'a, 'tcx>,
    parent_id: HirId
) -> Self
[src]

pub(in check::gather_locals) fn assign(
    &mut self,
    span: Span,
    nid: HirId,
    ty_opt: Option<LocalTy<'tcx>>
) -> Ty<'tcx>
[src]

Trait Implementations

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

type Map = ErasedMap<'tcx>

Auto Trait Implementations

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

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

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

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

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