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
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
existing_proc_macros.rs
feature-gate-diagnostic_namespace.rs
feature-gate-diagnostic_namespace.stderr
non_existing_attributes_accepted.rs
non_existing_attributes_accepted.stderr
requires_path.rs
requires_path.stderr