Enum move_lang::diagnostics::codes::Syntax
source · #[repr(u8)]
pub enum Syntax {
DontStartAtZeroPlaceholder,
InvalidCharacter,
UnexpectedToken,
InvalidModifier,
InvalidDocComment,
InvalidAddress,
InvalidNumber,
InvalidByteString,
InvalidHexString,
InvalidLValue,
SpecContextRestricted,
}
Variants§
DontStartAtZeroPlaceholder
InvalidCharacter
UnexpectedToken
InvalidModifier
InvalidDocComment
InvalidAddress
InvalidNumber
InvalidByteString
InvalidHexString
InvalidLValue
SpecContextRestricted
Trait Implementations§
source§impl DiagnosticCode for Syntax
impl DiagnosticCode for Syntax
source§impl PartialEq<Syntax> for Syntax
impl PartialEq<Syntax> for Syntax
impl Copy for Syntax
impl Eq for Syntax
impl StructuralEq for Syntax
impl StructuralPartialEq for Syntax
Auto Trait Implementations§
impl RefUnwindSafe for Syntax
impl Send for Syntax
impl Sync for Syntax
impl Unpin for Syntax
impl UnwindSafe for Syntax
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.