pub enum DiagnosticCode {
Show 15 variants
E0001,
E0002,
E0003,
E0004,
E0005,
E0100,
E0101,
E0102,
E0103,
E0104,
E0200,
E0201,
E0202,
E0900,
E0901,
}Expand description
Diagnostic code for structured error categories.
Variants§
E0001
Unexpected token
E0002
Unterminated string
E0003
Unmatched bracket
E0004
Missing semicolon
E0005
Invalid number literal
E0100
Type mismatch
E0101
Undeclared variable
E0102
Cannot infer type
E0103
Too many arguments
E0104
Too few arguments
E0200
No goals to solve
E0201
Tactic failed
E0202
Unsolved goals
E0900
Internal error
E0901
Not implemented
Trait Implementations§
Source§impl Clone for DiagnosticCode
impl Clone for DiagnosticCode
Source§fn clone(&self) -> DiagnosticCode
fn clone(&self) -> DiagnosticCode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DiagnosticCode
impl Debug for DiagnosticCode
Source§impl Display for DiagnosticCode
impl Display for DiagnosticCode
Source§impl PartialEq for DiagnosticCode
impl PartialEq for DiagnosticCode
impl Copy for DiagnosticCode
impl Eq for DiagnosticCode
impl StructuralPartialEq for DiagnosticCode
Auto Trait Implementations§
impl Freeze for DiagnosticCode
impl RefUnwindSafe for DiagnosticCode
impl Send for DiagnosticCode
impl Sync for DiagnosticCode
impl Unpin for DiagnosticCode
impl UnsafeUnpin for DiagnosticCode
impl UnwindSafe for DiagnosticCode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more