[−][src]Struct rustc_trait_selection::traits::error_reporting::FindTypeParam

pub(in traits::error_reporting) struct FindTypeParam {
    param: Symbol,
    invalid_spans: Vec<Span>,
    nested: bool,
}

Look for type param in an ADT being used only through a reference to confirm that suggesting param: ?Sized would be a valid constraint.

Fields

param: Symbolinvalid_spans: Vec<Span>nested: bool

Trait Implementations

impl<'v> Visitor<'v> for FindTypeParam[src]

type Map = ErasedMap<'v>

Auto Trait Implementations

impl RefUnwindSafe for FindTypeParam

impl !Send for FindTypeParam

impl !Sync for FindTypeParam

impl Unpin for FindTypeParam

impl UnwindSafe for FindTypeParam

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]