[−][src]Struct rustc_mir::borrow_check::diagnostics::find_use::UseFinder
Fields
body: &'cx Body<'tcx>regioncx: &'cx Rc<RegionInferenceContext<'tcx>>tcx: TyCtxt<'tcx>region_vid: RegionVidstart_point: LocationImplementations
impl<'cx, 'tcx> UseFinder<'cx, 'tcx>[src]
pub(in borrow_check::diagnostics::find_use) fn find(
&mut self
) -> Option<Cause>[src]
&mut self
) -> Option<Cause>
pub(in borrow_check::diagnostics::find_use) fn def_use(
&self,
location: Location,
thing: &dyn MirVisitable<'tcx>
) -> Option<DefUseResult>[src]
&self,
location: Location,
thing: &dyn MirVisitable<'tcx>
) -> Option<DefUseResult>
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,
'tcx: 'cx,
impl<'cx, 'tcx> !UnwindSafe for UseFinder<'cx, 'tcx>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.