rspack_error 0.100.0

rspack error
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
mod renderer;
mod stdio;
mod string;

pub use self::{renderer::Renderer, stdio::StdioDisplayer, string::StringDisplayer};
use crate::diagnostic::Diagnostic;

pub trait Display {
  type Output;
  fn emit_batch_diagnostic<'a>(
    &self,
    diagnostics: impl Iterator<Item = &'a Diagnostic>,
  ) -> Self::Output;
  fn emit_diagnostic(&self, diagnostic: &Diagnostic) -> Self::Output;
}