mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 02:33:55 +00:00
5eb76fac7c
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. r? `@compiler-errors` I'm happy to adjust any of the existing changed location to emit the old error message if that's desired. |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |