Struct rune::CompileError [−][src]
pub struct CompileError { /* fields omitted */ }
Expand description
An error raised during compiling.
Implementations
Construct a new scope error.
Construct an custom error.
This should be used for programming invariants of the encoder which are broken for some reason.
Get the kind of the error.
Convert into the kind of the error.
Construct a factor for unsupported super.
Construct an experimental error.
This should be used when an experimental feature is used which hasn’t been enabled.
pub fn expected_meta<S>(
spanned: S,
meta: CompileMeta,
expected: &'static str
) -> Self where
S: Spanned,
pub fn expected_meta<S>(
spanned: S,
meta: CompileMeta,
expected: &'static str
) -> Self where
S: Spanned,
Error when we got mismatched meta.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.