[−][src]Enum rustc_infer::infer::error_reporting::need_type_info::TypeAnnotationNeeded
Variants
ⓘThis example deliberately fails to compile
let x = "hello".chars().rev().collect();
An implementation cannot be chosen unambiguously because of lack of information.
ⓘThis example deliberately fails to compile
let _ = Default::default();
ⓘThis example deliberately fails to compile
let mut d: u64 = 2; d = d % 1u32.into();
Trait Implementations
impl Into<DiagnosticId> for TypeAnnotationNeeded[src]
pub fn into(self) -> DiagnosticId[src]
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]
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<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,
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.