Enum rustc_attr::builtin::AttrError
source · enum AttrError {
MultipleItem(String),
UnknownMetaItem(String, &'static [&'static str]),
MissingSince,
NonIdentFeature,
MissingFeature,
MultipleStabilityLevels,
UnsupportedLiteral(UnsupportedLiteralReason, bool),
}
Variants§
MultipleItem(String)
UnknownMetaItem(String, &'static [&'static str])
MissingSince
NonIdentFeature
MissingFeature
MultipleStabilityLevels
UnsupportedLiteral(UnsupportedLiteralReason, bool)
Auto Trait Implementations§
impl RefUnwindSafe for AttrError
impl Send for AttrError
impl Sync for AttrError
impl Unpin for AttrError
impl UnwindSafe for AttrError
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: 48 bytes
Size for each variant:
MultipleItem
: 31 bytesUnknownMetaItem
: 47 bytesMissingSince
: 0 bytesNonIdentFeature
: 0 bytesMissingFeature
: 0 bytesMultipleStabilityLevels
: 0 bytesUnsupportedLiteral
: 2 bytes