Enum rustc_mir_build::thir::pattern::PatternError [−][src]
pub(crate) enum PatternError {
AssocConstInPattern(Span),
ConstParamInPattern(Span),
StaticInPattern(Span),
NonConstPath(Span),
}Variants
Tuple Fields of AssocConstInPattern
0: SpanTuple Fields of ConstParamInPattern
0: SpanTuple Fields of StaticInPattern
0: SpanTuple Fields of NonConstPath
0: SpanTrait 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 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