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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
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: 48 bytes
Size for each variant:
MultipleItem
: 31 bytesUnknownMetaItem
: 47 bytesMissingSince
: 0 bytesNonIdentFeature
: 0 bytesMissingFeature
: 0 bytesMultipleStabilityLevels
: 0 bytesUnsupportedLiteral
: 2 bytes