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

pub(in borrow_check::diagnostics::find_use) struct UseFinder<'cx, 'tcx> {
    body: &'cx Body<'tcx>,
    regioncx: &'cx Rc<RegionInferenceContext<'tcx>>,
    tcx: TyCtxt<'tcx>,
    region_vid: RegionVid,
    start_point: Location,
}

Fields

body: &'cx Body<'tcx>regioncx: &'cx Rc<RegionInferenceContext<'tcx>>tcx: TyCtxt<'tcx>region_vid: RegionVidstart_point: Location

Implementations

impl<'cx, 'tcx> UseFinder<'cx, 'tcx>[src]

pub(in borrow_check::diagnostics::find_use) fn find(
    &mut self
) -> Option<Cause>
[src]

pub(in borrow_check::diagnostics::find_use) fn def_use(
    &self,
    location: Location,
    thing: &dyn MirVisitable<'tcx>
) -> Option<DefUseResult>
[src]

Auto Trait Implementations

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

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

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

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

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