Enum rustc_errors::StashKey
source · pub enum StashKey {
ItemNoType,
UnderscoreForArrayLengths,
EarlySyntaxWarning,
}
Expand description
A key denoting where from a diagnostic was stashed.
Variants
ItemNoType
UnderscoreForArrayLengths
EarlySyntaxWarning
Trait Implementations
impl Copy for StashKey
impl Eq for StashKey
impl StructuralEq for StashKey
impl StructuralPartialEq for StashKey
Auto Trait Implementations
impl RefUnwindSafe for StashKey
impl Send for StashKey
impl Sync for StashKey
impl Unpin for StashKey
impl UnwindSafe for StashKey
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: 1 byte
Size for each variant:
ItemNoType
: 0 bytesUnderscoreForArrayLengths
: 0 bytesEarlySyntaxWarning
: 0 bytes