Enum rustc_trait_selection::infer::error_reporting::TypeAnnotationNeeded [−][src]
pub enum TypeAnnotationNeeded {
E0282,
E0283,
E0284,
}Variants
ⓘ
let x = "hello".chars().rev().collect();
An implementation cannot be chosen unambiguously because of lack of information.
ⓘ
let _ = Default::default();
ⓘ
let mut d: u64 = 2; d = d % 1u32.into();
Auto Trait Implementations
impl RefUnwindSafe for TypeAnnotationNeededimpl Send for TypeAnnotationNeededimpl Sync for TypeAnnotationNeededimpl Unpin for TypeAnnotationNeededimpl UnwindSafe for TypeAnnotationNeededBlanket Implementations
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte