Enum rustc_mir_build::thir::pattern::PatternError [−][src]
pub(crate) enum PatternError {
AssocConstInPattern(Span),
ConstParamInPattern(Span),
StaticInPattern(Span),
FloatBug,
NonConstPath(Span),
}Variants
AssocConstInPattern(Span)ConstParamInPattern(Span)StaticInPattern(Span)NonConstPath(Span)Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PatternErrorimpl !Send for PatternErrorimpl !Sync for PatternErrorimpl Unpin for PatternErrorimpl UnwindSafe for PatternErrorBlanket Implementations
Mutably borrows from an owned value. Read more
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: 12 bytes