mirror of https://github.com/zkat/miette.git
Removed unused MietteError::SetPrinterFailure.
This commit is contained in:
parent
e49794fc01
commit
bcebd54456
|
|
@ -24,11 +24,4 @@ pub enum MietteError {
|
||||||
url(docsrs)
|
url(docsrs)
|
||||||
)]
|
)]
|
||||||
OutOfBounds,
|
OutOfBounds,
|
||||||
|
|
||||||
/// Returned when installing a [`ReportHandler`](crate::ReportHandler)
|
|
||||||
/// failed. Typically, this will be because [`set_hook`](crate::set_hook)
|
|
||||||
/// was called twice.
|
|
||||||
#[error("Failed to install ReportHandler")]
|
|
||||||
#[diagnostic(code(miette::set_printer_failed), url(docsrs))]
|
|
||||||
SetPrinterFailure,
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue