Enum cranelift_module::ModuleError [−][src]
pub enum ModuleError { Undeclared(String), IncompatibleDeclaration(String), IncompatibleSignature(String, Signature, Signature), DuplicateDefinition(String), InvalidImportDefinition(String), Compilation(CodegenError), Backend(Error), }
Expand description
Error messages for all Module
methods
Variants
Undeclared(String)
Indicates an identifier was used before it was declared
IncompatibleDeclaration(String)
Indicates an identifier was used as data/function first, but then used as the other
Indicates a function identifier was declared with a different signature than declared previously
DuplicateDefinition(String)
Indicates an identifier was defined more than once
InvalidImportDefinition(String)
Indicates an identifier was defined, but was declared as an import
Compilation(CodegenError)
Wraps a cranelift-codegen
error
Backend(Error)
Wraps a generic error from a backend
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for ModuleError
impl Send for ModuleError
impl Sync for ModuleError
impl Unpin for ModuleError
impl !UnwindSafe for ModuleError