This commit adds support for a `#[diagnostic::on_unimplemented]` attribute with the following options: * `message` to customize the primary error message * `note` to add a customized note message to an error message * `label` to customize the label part of the error message Co-authored-by: León Orell Valerian Liehr <me@fmease.dev> Co-authored-by: Michael Goulet <michael@errs.io> |
||
|---|---|---|
| .. | ||
| 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 | ||