rust/compiler/rustc_trait_selection
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
..
src Allows #[diagnostic::on_unimplemented] attributes to have multiple 2023-10-27 12:42:42 +02:00
Cargo.toml
messages.ftl Improve the warning messages for the #[diagnostic::on_unimplemented] 2023-10-19 15:00:47 +02:00