diff options
| author | bors <bors@rust-lang.org> | 2023-09-17 10:00:15 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-09-17 10:00:15 +0000 |
| commit | 327e6cf55cc5211e19ed46e92e05eef29dc75dd0 (patch) | |
| tree | d0559011a2f078f4bd078362cab2e7bd39298e75 /compiler/rustc_feature/src | |
| parent | cdd182cbb2d11bb25d2dabdd752cc5980e0ac059 (diff) | |
| parent | 5b8a7a09178f73a581db2b21cf516fea7be9b49f (diff) | |
| download | rust-327e6cf55cc5211e19ed46e92e05eef29dc75dd0.tar.gz rust-327e6cf55cc5211e19ed46e92e05eef29dc75dd0.zip | |
Auto merge of #114452 - weiznich:feature/diagnostic_on_unimplemented, r=compiler-errors
`#[diagnostic::on_unimplemented]` without filters 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 The relevant behavior is specified in [RFC-3366](https://rust-lang.github.io/rfcs/3366-diagnostic-attribute-namespace.html)
Diffstat (limited to 'compiler/rustc_feature/src')
| -rw-r--r-- | compiler/rustc_feature/src/active.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_feature/src/active.rs b/compiler/rustc_feature/src/active.rs index 6c338be99b6..f3b88f46bae 100644 --- a/compiler/rustc_feature/src/active.rs +++ b/compiler/rustc_feature/src/active.rs @@ -416,7 +416,7 @@ declare_features! ( /// Allows having using `suggestion` in the `#[deprecated]` attribute. (active, deprecated_suggestion, "1.61.0", Some(94785), None), /// Allows using the `#[diagnostic]` attribute tool namespace - (active, diagnostic_namespace, "1.73.0", Some(94785), None), + (active, diagnostic_namespace, "1.73.0", Some(111996), None), /// Controls errors in trait implementations. (active, do_not_recommend, "1.67.0", Some(51992), None), /// Tells rustdoc to automatically generate `#[doc(cfg(...))]`. |
