Enum rustc_infer::infer::error_reporting::Mismatch
source · enum Mismatch<'a> {
Variable(ExpectedFound<Ty<'a>>),
Fixed(&'static str),
}Variants§
Variable(ExpectedFound<Ty<'a>>)
Fixed(&'static str)
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Mismatch<'a>
impl<'a> !Send for Mismatch<'a>
impl<'a> !Sync for Mismatch<'a>
impl<'a> Unpin for Mismatch<'a>
impl<'a> !UnwindSafe for Mismatch<'a>
Blanket Implementations§
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. 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: 24 bytes
Size for each variant:
Variable: 16 bytesFixed: 16 bytes