pub enum Type {
Show 26 variants
PortRedeclaration(Span, Span),
HierarchicalIdNotAllowedAsNature {
hierarchical_id: Vec<Ident>,
},
PortNotPreDeclaredInModuleHead {
port_list: Span,
},
PortPreDeclaredNotDefined,
EmptyListEntry(List),
AttributeAlreadyDefined,
RequiredAttributeNotDefined(Vec<Symbol>),
DiscreteDisciplineHasNatures,
StringTooLong(usize),
MacroArgumentCount {
expected: u8,
found: usize,
},
ConditionEndWithoutStart,
MacroEndTooEarly,
UnclosedConditions(Vec<Span>),
MacroNotFound,
MacroRecursion,
CompilerDirectiveSplit,
IoErr(String),
AlreadyDeclaredInThisScope {
other_declaration: Span,
name: Symbol,
},
UnexpectedEof {
expected: Vec<Token>,
},
UnexpectedToken {
expected: Vec<Token>,
},
MissingOrUnexpectedToken {
expected: Vec<Token>,
expected_at: u32,
},
UnexpectedTokens {
expected: Vec<Expected>,
},
TooManyBranchArgs(usize),
Unsupported(Unsupported),
FunctionWithoutBody(Ident),
Unrecoverable,
}Variants§
PortRedeclaration(Span, Span)
HierarchicalIdNotAllowedAsNature
PortNotPreDeclaredInModuleHead
PortPreDeclaredNotDefined
EmptyListEntry(List)
AttributeAlreadyDefined
RequiredAttributeNotDefined(Vec<Symbol>)
DiscreteDisciplineHasNatures
StringTooLong(usize)
MacroArgumentCount
ConditionEndWithoutStart
MacroEndTooEarly
UnclosedConditions(Vec<Span>)
MacroNotFound
MacroRecursion
CompilerDirectiveSplit
IoErr(String)
AlreadyDeclaredInThisScope
UnexpectedEof
UnexpectedToken
MissingOrUnexpectedToken
UnexpectedTokens
TooManyBranchArgs(usize)
Unsupported(Unsupported)
FunctionWithoutBody(Ident)
Unrecoverable
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
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