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.75. While this crate is in pre-release status (0.x), The MSRV may be bumped in patch releases.
Structs§
- A wrapper around [
CustomTripleCreateError
] that implements [Diagnostic
]. - A wrapper around [
ExpressionParseError
] that implements [Diagnostic
]. - A wrapper around [
PlainStringParseError
] that implements [Diagnostic
]. - A wrapper around [
TripleParseError
] that implements [Diagnostic
].
Traits§
- Extension trait that converts errors into a [
miette::Diagnostic
].