[−][src]Enum rune::CompileErrorKind
Compiler error.
Variants
Fields of Custom
message: &'static str
Fields of IrError
error: IrErrorKind
Fields of QueryError
error: QueryErrorKind
Fields of ParseError
error: ParseErrorKind
Fields of ResolveError
error: ResolveErrorKind
Fields of ConstError
msg: &'static str
Fields of Experimental
msg: &'static str
Fields of ModNotFound
path: PathBuf
Fields of MissingMacro
item: Item
Fields of MissingLocal
name: String
Fields of MissingItem
item: Item
Fields of UnsupportedModuleRoot
root: PathBuf
Fields of UnsupportedModuleItem
item: Item
Fields of UnsupportedUnaryOp
op: UnOp
Fields of UnsupportedBinaryOp
op: BinOp
Fields of UnsupportedLitObject
meta: CompileMeta
Fields of UnsupportedArgumentCount
Fields of UnsupportedPattern
meta: CompileMeta
Fields of MissingPreludeModule
item: Item
Fields of UnsupportedTupleIndex
number: Number
Fields of ExpectedBlockSemiColon
followed_span: Span
Fields of FunctionConflict
existing: DebugSignature
Fields of FunctionReExportConflict
hash: Hash
Fields of UnsupportedMeta
existing: Item
Fields of DuplicateLabel
label: Label
Fields of MissingLabel
label: Label
Fields of ExpectedMeta
expected: &'static str
meta: CompileMeta
Fields of VariableMoved
moved_at: Span
Fields of NestedTest
nested_span: Span
Trait Implementations
impl Debug for CompileErrorKind
[src]
impl Display for CompileErrorKind
[src]
impl Error for CompileErrorKind
[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<IrErrorKind> for CompileErrorKind
[src]
pub fn from(source: IrErrorKind) -> Self
[src]
impl From<ParseErrorKind> for CompileErrorKind
[src]
pub fn from(source: ParseErrorKind) -> Self
[src]
impl From<QueryErrorKind> for CompileErrorKind
[src]
pub fn from(source: QueryErrorKind) -> Self
[src]
impl From<ResolveErrorKind> for CompileErrorKind
[src]
pub fn from(source: ResolveErrorKind) -> Self
[src]
Auto Trait Implementations
impl !RefUnwindSafe for CompileErrorKind
[src]
impl Send for CompileErrorKind
[src]
impl Sync for CompileErrorKind
[src]
impl Unpin for CompileErrorKind
[src]
impl !UnwindSafe for CompileErrorKind
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,