mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
232aaeba7c
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. |
||
---|---|---|
.. | ||
auxiliary | ||
on_unimplemented | ||
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 |