[−][src]Struct rustc_typeck::check::method::suggest::UsePlacementFinder

pub(in check::method::suggest) struct UsePlacementFinder<'tcx> {
    target_module: HirId,
    span: Option<Span>,
    found_use: bool,
    tcx: TyCtxt<'tcx>,
}

Fields

target_module: HirIdspan: Option<Span>found_use: booltcx: TyCtxt<'tcx>

Implementations

impl<'tcx> UsePlacementFinder<'tcx>[src]

pub(in check::method::suggest) fn check(
    tcx: TyCtxt<'tcx>,
    krate: &'tcx Crate<'tcx>,
    target_module: HirId
) -> (Option<Span>, bool)
[src]

Trait Implementations

impl<'tcx> Visitor<'tcx> for UsePlacementFinder<'tcx>[src]

type Map = ErasedMap<'tcx>

Auto Trait Implementations

impl<'tcx> !RefUnwindSafe for UsePlacementFinder<'tcx>

impl<'tcx> !Send for UsePlacementFinder<'tcx>

impl<'tcx> !Sync for UsePlacementFinder<'tcx>

impl<'tcx> Unpin for UsePlacementFinder<'tcx>

impl<'tcx> !UnwindSafe for UsePlacementFinder<'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]