miette/miette-derive/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
..
code.rs fix(derive): elide lifetimes in derived functions (#226) 2022-11-21 09:51:10 -08:00
diagnostic.rs feat(deps): update to syn2 (#247) 2023-03-29 18:11:14 -07:00
diagnostic_arg.rs feat(derive): Add `#[diagnostic(forward(field_name), code(...))]` (#41) 2021-09-13 15:39:04 -07:00
diagnostic_source.rs feat(deps): update to syn2 (#247) 2023-03-29 18:11:14 -07:00
fmt.rs feat(deps): update to syn2 (#247) 2023-03-29 18:11:14 -07:00
forward.rs fix(derive): elide lifetimes in derived functions (#226) 2022-11-21 09:51:10 -08:00
help.rs feat(deps): update to syn2 (#247) 2023-03-29 18:11:14 -07:00
label.rs feat(collection): add support for collection of labels (#341) 2024-02-15 18:14:04 -08:00
lib.rs feat(diagnostic_source): add protocol method for Diagnostic-aware source chaining (#165) 2022-05-05 08:32:37 -07:00
related.rs feat(deps): update to syn2 (#247) 2023-03-29 18:11:14 -07:00
severity.rs feat(derive): Add `#[diagnostic(forward(field_name), code(...))]` (#41) 2021-09-13 15:39:04 -07:00
source_code.rs feat(derive): Allow optional sources in derive (#301) 2023-10-20 20:50:15 -07:00
url.rs fix(derive): elide lifetimes in derived functions (#226) 2022-11-21 09:51:10 -08:00
utils.rs fix(docs): Docs overhaul (#124) 2022-02-25 08:39:18 -08:00