mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-30 04:44:44 +00:00
impl Display for ComileErrors
This commit is contained in:
parent
666ec1c7fe
commit
d8e2ece224
3 changed files with 15 additions and 7 deletions
|
@ -810,11 +810,4 @@ pub trait MultiErrorDisplay<Item: ErrorDisplay>: Stream<Item> {
|
|||
}
|
||||
write!(f, "")
|
||||
}
|
||||
|
||||
fn write_all<W: std::io::Write>(&self, w: &mut W) {
|
||||
let mut writer = BufWriter::new(w);
|
||||
for err in self.iter() {
|
||||
err.write_to(&mut writer);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue