[−][src]Struct rustc_mir::borrow_check::diagnostics::find_use::DefUseVisitor

pub(in borrow_check::diagnostics::find_use) struct DefUseVisitor<'cx, 'tcx> {
    body: &'cx Body<'tcx>,
    tcx: TyCtxt<'tcx>,
    region_vid: RegionVid,
    def_use_result: Option<DefUseResult>,
}

Fields

body: &'cx Body<'tcx>tcx: TyCtxt<'tcx>region_vid: RegionViddef_use_result: Option<DefUseResult>

Trait Implementations

impl<'cx, 'tcx> Visitor<'tcx> for DefUseVisitor<'cx, 'tcx>[src]

Auto Trait Implementations

impl<'cx, 'tcx> !RefUnwindSafe for DefUseVisitor<'cx, 'tcx>

impl<'cx, 'tcx> !Send for DefUseVisitor<'cx, 'tcx>

impl<'cx, 'tcx> !Sync for DefUseVisitor<'cx, 'tcx>

impl<'cx, 'tcx> Unpin for DefUseVisitor<'cx, 'tcx> where
    'tcx: 'cx, 

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