pub struct StderrHandler { /* private fields */ }Expand description
Default handler: prints file:line:col: kind: message, the source line, and
(for all-ASCII lines) a caret/underline. Port of printDiagnosticHelper.
Implementations§
Source§impl StderrHandler
impl StderrHandler
pub fn new(opts: OutputOptions) -> StderrHandler
Trait Implementations§
Source§impl DiagHandler for StderrHandler
impl DiagHandler for StderrHandler
Auto Trait Implementations§
impl Freeze for StderrHandler
impl RefUnwindSafe for StderrHandler
impl Send for StderrHandler
impl Sync for StderrHandler
impl Unpin for StderrHandler
impl UnsafeUnpin for StderrHandler
impl UnwindSafe for StderrHandler
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more