mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +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. |
||
---|---|---|
.. | ||
do_not_fail_parsing_on_invalid_options_1.rs | ||
do_not_fail_parsing_on_invalid_options_1.stderr | ||
feature-gate-diagnostic_on_unimplemented.rs | ||
feature-gate-diagnostic_on_unimplemented.stderr | ||
ignore_unsupported_options_and_continue_to_use_fallback.rs | ||
ignore_unsupported_options_and_continue_to_use_fallback.stderr | ||
multiple_notes.rs | ||
multiple_notes.stderr | ||
on_unimplemented_simple.rs | ||
on_unimplemented_simple.stderr |