pub type CompileResult<T> = Result<T, Vec<CompilerError>>;
Expand description
A type alias for a result that can either be a value of type T or a list of compiler errors
Aliased Type§
enum CompileResult<T> {
Ok(T),
Err(Vec<CompilerError>),
}