Enum rustc_infer::infer::error_reporting::SubOrigin
source · enum SubOrigin<'hir> {
GAT(&'hir Generics<'hir>),
Impl,
Trait,
Fn,
Unknown,
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'hir> RefUnwindSafe for SubOrigin<'hir>
impl<'hir> !Send for SubOrigin<'hir>
impl<'hir> !Sync for SubOrigin<'hir>
impl<'hir> Unpin for SubOrigin<'hir>
impl<'hir> UnwindSafe for SubOrigin<'hir>
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: 16 bytes
Size for each variant:
GAT: 8 bytesImpl: 0 bytesTrait: 0 bytesFn: 0 bytesUnknown: 0 bytes