rust/tests/ui/diagnostic_namespace/on_unimplemented
Georg Semmler 160b1793b2
Allows #[diagnostic::on_unimplemented] attributes to have multiple
notes

This commit extends the `#[diagnostic::on_unimplemented]` (and
`#[rustc_on_unimplemented]`) attributes to allow multiple `note`
options. This enables emitting multiple notes for custom error messages.
For now I've opted to not change any of the existing usages of
`#[rustc_on_unimplemented]` and just updated the relevant compile tests.
2023-10-27 12:42:42 +02:00
..
do_not_fail_parsing_on_invalid_options_1.rs Improve the warning messages for the #[diagnostic::on_unimplemented] 2023-10-19 15:00:47 +02:00
do_not_fail_parsing_on_invalid_options_1.stderr Improve the warning messages for the #[diagnostic::on_unimplemented] 2023-10-19 15:00:47 +02:00
feature-gate-diagnostic_on_unimplemented.rs #[diagnostic::on_unimplemented] without filters 2023-09-12 20:03:18 +02:00
feature-gate-diagnostic_on_unimplemented.stderr #[diagnostic::on_unimplemented] without filters 2023-09-12 20:03:18 +02:00
ignore_unsupported_options_and_continue_to_use_fallback.rs Fix a span for one of the test cases 2023-10-20 13:24:58 +02:00
ignore_unsupported_options_and_continue_to_use_fallback.stderr Allows #[diagnostic::on_unimplemented] attributes to have multiple 2023-10-27 12:42:42 +02:00
multiple_notes.rs Allows #[diagnostic::on_unimplemented] attributes to have multiple 2023-10-27 12:42:42 +02:00
multiple_notes.stderr Allows #[diagnostic::on_unimplemented] attributes to have multiple 2023-10-27 12:42:42 +02:00
on_unimplemented_simple.rs #[diagnostic::on_unimplemented] without filters 2023-09-12 20:03:18 +02:00
on_unimplemented_simple.stderr #[diagnostic::on_unimplemented] without filters 2023-09-12 20:03:18 +02:00