Integrate CompileError to compiler-core::BaseError

This commit is contained in:
Jeong YunWon 2022-08-22 20:21:40 +09:00
parent 1192a11d39
commit 5b50c547d6
5 changed files with 47 additions and 24 deletions

View file

@ -1,6 +1,6 @@
use std::{error::Error, fmt};
pub type CodegenError = rustpython_compiler_core::Error<CodegenErrorType>;
pub type CodegenError = rustpython_compiler_core::BaseError<CodegenErrorType>;
#[derive(Debug)]
#[non_exhaustive]