miette/src
Nahor 03060245d8
feat(collection): add support for collection of labels (#341)
Fixes: https://github.com/zkat/miette/issues/315

Allow errors to have a number of labels determined at runtime.
An example of this is when the rust compiler labels all the arms of
a `match` expression when one of them has an incompatible type

To allow customization of the text for each label in a collection, add
support for using LabeledSpan in collections instead of just regular
spans
2024-02-15 18:14:04 -08:00
..
eyreish feat(deps): remove once_cell dep in favor of `std::sync::OnceLock` 2024-02-03 19:50:33 -08:00
handlers feat(fancy): Add option to change the link display text (#335) 2024-02-04 16:54:18 -08:00
highlighters fix(highlighter): ugh, missed another spot 2024-02-03 20:25:23 -08:00
chain.rs fix(chain): correct `Chain` structure exported (#102) 2022-01-07 17:34:39 -08:00
diagnostic_chain.rs feat(diagnostic_source): add protocol method for Diagnostic-aware source chaining (#165) 2022-05-05 08:32:37 -07:00
error.rs feat(derive): Make `miette-derive` be able to be turned off (#304) 2023-11-09 13:22:47 -08:00
handler.rs fix(graphical): oops. Fix theme issue 2024-02-03 20:12:46 -08:00
lib.rs feat(MSRV): Actually bump the MSRV to 1.70.0 2024-02-03 19:59:57 -08:00
macro_helpers.rs feat(collection): add support for collection of labels (#341) 2024-02-15 18:14:04 -08:00
miette_diagnostic.rs feat(labels): Add support for primary label in specifying line/col information (#291) 2023-09-20 15:36:33 -07:00
named_source.rs feat(source): derive common traits for NamedSource, SourceSpan, and SourceOffset (#340) 2024-02-08 14:16:49 -08:00
panic.rs feat(panic): improved backtrace handling 2023-03-31 17:08:20 -07:00
protocol.rs feat(collection): add support for collection of labels (#341) 2024-02-15 18:14:04 -08:00
source_impls.rs misc(perf): nit perf improvements (#244) 2023-03-29 20:21:40 -07:00