fix(els): duplicated diagnostics

This commit is contained in:
Shunsuke Shibayama 2023-09-16 12:14:24 +09:00
parent 72ef581522
commit 5497af5626
4 changed files with 25 additions and 6 deletions

View file

@ -164,7 +164,7 @@ pub fn readable_name(name: &str) -> &str {
}
}
#[derive(Debug, Clone)]
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
pub struct CompileError {
pub core: Box<ErrorCore>, // ErrorCore is large, so box it
pub input: Input,