miette/miette-derive/src
Marcel Müller f783a0e2ae
Allow using smartpointers with source_diagnostic (#169)
* Add more tests for diagnostic_source

* Use Borrow::borrow instead of AsRef

AsRef is not reflexive, meaning that it is not implemented as &T for all
T. Borrow is though, so we use that to make sure that we always get a
reference that is correct, even in the presence of smart pointers.
2022-05-13 08:19:05 -07:00
..
code.rs feat(derive): Add `#[diagnostic(forward(field_name), code(...))]` (#41) 2021-09-13 15:39:04 -07:00
diagnostic.rs feat(diagnostic_source): add protocol method for Diagnostic-aware source chaining (#165) 2022-05-05 08:32:37 -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 Allow using smartpointers with source_diagnostic (#169) 2022-05-13 08:19:05 -07:00
fmt.rs feat(reporter): fancy new reporter with unicode, colors, and multiline (#23) 2021-08-20 20:09:23 -07:00
forward.rs feat(diagnostic_source): add protocol method for Diagnostic-aware source chaining (#165) 2022-05-05 08:32:37 -07:00
help.rs feat(help): allow non-option values in #[help] fields 2022-04-17 22:43:01 -07:00
label.rs feat(label): use macro magic instead of optional flag for optional labels 2022-04-17 22:43:01 -07: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(derive): allow `Report` in `related` (#121) 2022-02-21 19:12:37 -08:00
severity.rs feat(derive): Add `#[diagnostic(forward(field_name), code(...))]` (#41) 2021-09-13 15:39:04 -07:00
source_code.rs feat(labels): replace snippet stuff with simpler labels (#62) 2021-09-22 16:34:21 -07:00
url.rs fix(docsrs): use proper module names for docsrs URLs 2022-04-03 13:27:55 -07:00
utils.rs fix(docs): Docs overhaul (#124) 2022-02-25 08:39:18 -08:00