[−][src]Enum rustc_trait_selection::infer::error_reporting::TypeAnnotationNeeded

pub enum TypeAnnotationNeeded {
    E0282,
    E0283,
    E0284,
}

Variants

E0282
ⓘThis example deliberately fails to compile
let x = "hello".chars().rev().collect();
E0283

An implementation cannot be chosen unambiguously because of lack of information.

ⓘThis example deliberately fails to compile
let _ = Default::default();
E0284
ⓘThis example deliberately fails to compile
let mut d: u64 = 2;
d = d % 1u32.into();

Auto Trait Implementations

impl RefUnwindSafe for TypeAnnotationNeeded

impl Send for TypeAnnotationNeeded

impl Sync for TypeAnnotationNeeded

impl Unpin for TypeAnnotationNeeded

impl UnwindSafe for TypeAnnotationNeeded

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]