rust/tests/ui/diagnostic_namespace
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
..
auxiliary Introduce the #[diagnostic] attribute namespace 2023-07-28 13:28:02 +02:00
on_unimplemented Allows #[diagnostic::on_unimplemented] attributes to have multiple 2023-10-27 12:42:42 +02:00
can_use_the_diagnostic_name_in_other_places.rs Introduce the #[diagnostic] attribute namespace 2023-07-28 13:28:02 +02:00
existing_proc_macros.rs Introduce the #[diagnostic] attribute namespace 2023-07-28 13:28:02 +02:00
feature-gate-diagnostic_namespace.rs #[diagnostic::on_unimplemented] without filters 2023-09-12 20:03:18 +02:00
feature-gate-diagnostic_namespace.stderr #[diagnostic::on_unimplemented] without filters 2023-09-12 20:03:18 +02:00
non_existing_attributes_accepted.rs Introduce the #[diagnostic] attribute namespace 2023-07-28 13:28:02 +02:00
non_existing_attributes_accepted.stderr #[diagnostic::on_unimplemented] without filters 2023-09-12 20:03:18 +02:00
requires_path.rs Introduce the #[diagnostic] attribute namespace 2023-07-28 13:28:02 +02:00
requires_path.stderr Introduce the #[diagnostic] attribute namespace 2023-07-28 13:28:02 +02:00