Crate target_spec_miette
source ·Expand description
Integrate target-spec errors with miette.
This crate has implementations of Diagnostic
for the various kinds of errors that target-spec
produces. This can be used to pretty-print errors returned by target-spec.
§Minimum supported Rust version
The minimum supported Rust version (MSRV) is Rust 1.73. While this crate is in pre-release status (0.x), The MSRV may be bumped in patch releases.
Structs§
- A wrapper around
ExpressionParseError
that implementsDiagnostic
. - A wrapper around
PlainStringParseError
that implementsDiagnostic
. - A wrapper around
TripleParseError
that implementsDiagnostic
.
Traits§
- Extension trait that converts errors into a
miette::Diagnostic
.