pub enum ReportCode {
Show 77 variants
AssertWrongType,
ParseFail,
CompilerVersionError,
WrongTypesInAssignOperation,
WrongNumberOfArguments(usize, usize),
UndefinedFunction,
UndefinedTemplate,
UninitializedSymbolInExpression,
UnableToTypeFunction,
UnreachableConstraints,
UnknownIndex,
UnknownDimension,
SameFunctionDeclaredTwice,
SameTemplateDeclaredTwice,
SameSymbolDeclaredTwice,
StaticInfoWasOverwritten,
SignalInLineInitialization,
SignalOutsideOriginalScope,
FunctionWrongNumberOfArguments,
FunctionInconsistentTyping,
FunctionPathWithoutReturn,
FunctionReturnError,
ForbiddenDeclarationInFunction,
NonHomogeneousArray,
NonBooleanCondition,
NonCompatibleBranchTypes,
NonEqualTypesInExpression,
NonExistentSymbol,
NoMainFoundInProject,
NoCompilerVersionWarning,
MultipleMainInComponent,
TemplateCallAsArgument,
TemplateWrongNumberOfArguments,
TemplateWithReturnStatement,
TypeCantBeUseAsCondition,
EmptyArrayInlineDeclaration,
PrefixOperatorWithWrongTypes,
InfixOperatorWithWrongTypes,
InvalidArgumentInCall,
InconsistentReturnTypesInBlock,
InconsistentStaticInformation,
InvalidArrayAccess,
InvalidSignalAccess,
InvalidArraySize,
InvalidArrayType,
ForStatementIllConstructed,
BadArrayAccess,
AssigningAComponentTwice,
AssigningASignalTwice,
NotAllowedOperation,
ConstraintGeneratorInFunction,
WrongSignalTags,
InvalidPartialArray,
MustBeSingleArithmetic,
ExpectedDimDiffGotDim(usize, usize),
RuntimeError,
UnknownTemplate,
NonQuadratic,
NonConstantArrayLength,
NonComputableExpression,
UnconstrainedSignal,
OneConstraintIntermediate,
NoOutputInInstance,
ErrorWat2Wasm,
ShadowingVariable,
ParameterNameCollision,
FieldElementComparison,
FieldElementArithmetic,
SignalAssignmentStatement,
UnecessarySignalAssignment,
UnusedVariableValue,
UnusedParameterValue,
VariableWithoutSideEffect,
ConstantBranchCondition,
NonStrictBinaryConversion,
CyclomaticComplexity,
TooManyArguments,
}Variants
AssertWrongType
ParseFail
CompilerVersionError
WrongTypesInAssignOperation
WrongNumberOfArguments(usize, usize)
UndefinedFunction
UndefinedTemplate
UninitializedSymbolInExpression
UnableToTypeFunction
UnreachableConstraints
UnknownIndex
UnknownDimension
SameFunctionDeclaredTwice
SameTemplateDeclaredTwice
SameSymbolDeclaredTwice
StaticInfoWasOverwritten
SignalInLineInitialization
SignalOutsideOriginalScope
FunctionWrongNumberOfArguments
FunctionInconsistentTyping
FunctionPathWithoutReturn
FunctionReturnError
ForbiddenDeclarationInFunction
NonHomogeneousArray
NonBooleanCondition
NonCompatibleBranchTypes
NonEqualTypesInExpression
NonExistentSymbol
NoMainFoundInProject
NoCompilerVersionWarning
MultipleMainInComponent
TemplateCallAsArgument
TemplateWrongNumberOfArguments
TemplateWithReturnStatement
TypeCantBeUseAsCondition
EmptyArrayInlineDeclaration
PrefixOperatorWithWrongTypes
InfixOperatorWithWrongTypes
InvalidArgumentInCall
InconsistentReturnTypesInBlock
InconsistentStaticInformation
InvalidArrayAccess
InvalidSignalAccess
InvalidArraySize
InvalidArrayType
ForStatementIllConstructed
BadArrayAccess
AssigningAComponentTwice
AssigningASignalTwice
NotAllowedOperation
ConstraintGeneratorInFunction
WrongSignalTags
InvalidPartialArray
MustBeSingleArithmetic
ExpectedDimDiffGotDim(usize, usize)
RuntimeError
UnknownTemplate
NonQuadratic
NonConstantArrayLength
NonComputableExpression
UnconstrainedSignal
OneConstraintIntermediate
NoOutputInInstance
ErrorWat2Wasm
ShadowingVariable
ParameterNameCollision
FieldElementComparison
FieldElementArithmetic
SignalAssignmentStatement
UnecessarySignalAssignment
UnusedVariableValue
UnusedParameterValue
VariableWithoutSideEffect
ConstantBranchCondition
NonStrictBinaryConversion
CyclomaticComplexity
TooManyArguments
Implementations
sourceimpl ReportCode
impl ReportCode
Trait Implementations
sourceimpl Clone for ReportCode
impl Clone for ReportCode
sourcefn clone(&self) -> ReportCode
fn clone(&self) -> ReportCode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
impl Copy for ReportCode
Auto Trait Implementations
impl RefUnwindSafe for ReportCode
impl Send for ReportCode
impl Sync for ReportCode
impl Unpin for ReportCode
impl UnwindSafe for ReportCode
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