Enum rustc_attr::builtin::AttrError [−][src]
enum AttrError {
MultipleItem(String),
UnknownMetaItem(String, &'static [&'static str]),
MissingSince,
NonIdentFeature,
MissingFeature,
MultipleStabilityLevels,
UnsupportedLiteral(&'static str, bool),
}
Variants
MultipleItem(String)
Tuple Fields of MultipleItem
0: String
UnknownMetaItem(String, &'static [&'static str])
Tuple Fields of UnknownMetaItem
0: String
1: &'static [&'static str]
Auto Trait Implementations
impl RefUnwindSafe 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
: 23 bytes