rust/tests/ui/diagnostic_namespace
Georg Semmler 232aaeba7c
Handle several #[diagnostic::on_unimplemented] attributes correctly
This PR fixes an issues where rustc would ignore subsequent
`#[diagnostic::on_unimplemented]` attributes. The [corresponding
RFC](https://rust-lang.github.io/rfcs/3368-diagnostic-attribute-namespace.html)
specifies that the first matching instance of each option is used.
Invalid attributes are linted and otherwise ignored.
2023-10-11 22:01:59 +02:00
..
auxiliary Introduce the #[diagnostic] attribute namespace 2023-07-28 13:28:02 +02:00
on_unimplemented Handle several #[diagnostic::on_unimplemented] attributes correctly 2023-10-11 22:01:59 +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