Enum rustc_mir_build::thir::pattern::PatternError [−][src]
pub(crate) enum PatternError {
AssocConstInPattern(Span),
ConstParamInPattern(Span),
StaticInPattern(Span),
NonConstPath(Span),
}
Variants
AssocConstInPattern(Span)
Tuple Fields of AssocConstInPattern
0: Span
ConstParamInPattern(Span)
Tuple Fields of ConstParamInPattern
0: Span
StaticInPattern(Span)
Tuple Fields of StaticInPattern
0: Span
NonConstPath(Span)
Tuple Fields of NonConstPath
0: Span
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PatternError
impl !Send for PatternError
impl !Sync for PatternError
impl Unpin for PatternError
impl UnwindSafe for PatternError
Blanket Implementations
Mutably borrows from an owned value. Read more
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: 12 bytes
Size for each variant:
AssocConstInPattern
: 8 bytesConstParamInPattern
: 8 bytesStaticInPattern
: 8 bytesNonConstPath
: 8 bytes