miette/tests
Brooks J Rady a8cb8fa340 feat!(blanket_impls): impl `Diagnostic` for &T and Box<T>
Brings things in line with best practices as described in "Rust for
Rustaceans" when it comes to "Ergonomic Trait Implementations" in Chapter
3. Practically means that people can pass more types to any functions
taking either `dyn Diagnostic` or `impl Diagnostic`.

BREAKING CHANGE: Added blanket impls may overlap with manual user impls.
If these impls are just hacks to achieve the same as the blanket ones do,
then they can simply be removed. If the impls for `T` and `&T` differ
semantically, then the user would need to employ the newtype pattern to
avoid overlap.
2024-04-23 16:36:56 -07:00
..
common feat(report): anyhow-ify DiagnosticReport (#35) 2021-09-04 21:22:46 -07:00
drop feat(report): anyhow-ify DiagnosticReport (#35) 2021-09-04 21:22:46 -07:00
color_format.rs tests: improve robustness of color_format tests (#329) 2024-01-11 14:13:00 -08:00
compiletest.rs fix(miri): Resolve Miri's concerns around unsafe code (#197) 2022-08-25 08:30:18 -07:00
derive.rs fix(graphical): fix nested error wrapping (#358) 2024-03-27 16:20:06 -07:00
graphical.rs fix(graphical): fix nested error wrapping (#358) 2024-03-27 16:20:06 -07:00
narrated.rs feat(source): Allow inner source type of a NamedSource to be borrowed (#254) 2024-02-03 19:40:17 -08:00
test_autotrait.rs feat(report): anyhow-ify DiagnosticReport (#35) 2021-09-04 21:22:46 -07:00
test_blanket.rs feat!(blanket_impls): impl `Diagnostic` for &T and Box<T> 2024-04-23 16:36:56 -07:00
test_boxed.rs tests: add tests to ensure that boxed reports forward all methods 2022-10-24 19:04:51 -07:00
test_chain.rs Add dynamic diagnostic (#262) 2023-05-13 13:59:43 -07:00
test_context.rs fix(chain): correct `Chain` structure exported (#102) 2022-01-07 17:34:39 -08:00
test_convert.rs feat(report): Add conversion from Report to Box<dyn Error> (#149) 2022-04-03 13:10:32 -07:00
test_derive_attr.rs feat(source): Allow inner source type of a NamedSource to be borrowed (#254) 2024-02-03 19:40:17 -08:00
test_derive_collection.rs feat(collection): add support for collection of labels (#341) 2024-02-15 18:14:04 -08:00
test_derive_source_chain.rs feat(protocol): add StdError impl for Box<dyn Diagnostic + Send + Sync> (#273) 2023-06-28 18:58:35 -07:00
test_diagnostic_source_macro.rs fix(graphical): fix nested error wrapping (#358) 2024-03-27 16:20:06 -07:00
test_downcast.rs Add dynamic diagnostic (#262) 2023-05-13 13:59:43 -07:00
test_fmt.rs feat(report): anyhow-ify DiagnosticReport (#35) 2021-09-04 21:22:46 -07:00
test_handler_access.rs feat(Report): adds `.context()` method to the `Report` (#109) 2022-01-17 17:16:08 -08:00
test_json.rs feat(source): Allow inner source type of a NamedSource to be borrowed (#254) 2024-02-03 19:40:17 -08:00
test_location.rs feat(tabs): Add replace tabs with spaces option (#82) 2021-10-05 21:05:57 -07:00
test_macros.rs feat(report): anyhow-ify DiagnosticReport (#35) 2021-09-04 21:22:46 -07:00
test_repr.rs fix(redundant-import): fix a warning and CI failure in nightly (#348) 2024-02-21 14:05:17 -08:00
test_source.rs feat(report): anyhow-ify DiagnosticReport (#35) 2021-09-04 21:22:46 -07:00