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