diff options
| author | Tobias Bucher <tobiasbucher5991@gmail.com> | 2024-07-29 13:31:59 +0200 |
|---|---|---|
| committer | Tobias Bucher <tobiasbucher5991@gmail.com> | 2024-08-13 11:32:47 +0200 |
| commit | 811d7dd11302e86d1678f7d61586d51e54c47e27 (patch) | |
| tree | 37f2ecc84eca200528ac33b01c10158c3fe06ea8 /compiler/rustc_feature/src/builtin_attrs.rs | |
| parent | 399ef23d2bf2b1619d360a87de9b83edf9d99762 (diff) | |
| download | rust-811d7dd11302e86d1678f7d61586d51e54c47e27.tar.gz rust-811d7dd11302e86d1678f7d61586d51e54c47e27.zip | |
`#[deprecated_safe_2024]`: Also use the `// TODO:` hint in the compiler error
This doesn't work for translated compiler error messages.
Diffstat (limited to 'compiler/rustc_feature/src/builtin_attrs.rs')
| -rw-r--r-- | compiler/rustc_feature/src/builtin_attrs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_feature/src/builtin_attrs.rs b/compiler/rustc_feature/src/builtin_attrs.rs index 1b4c18e96fc..d593f05c8c6 100644 --- a/compiler/rustc_feature/src/builtin_attrs.rs +++ b/compiler/rustc_feature/src/builtin_attrs.rs @@ -643,7 +643,7 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[ through unstable paths" ), rustc_attr!( - rustc_deprecated_safe_2024, Normal, template!(List: r#"todo = "...""#), + rustc_deprecated_safe_2024, Normal, template!(List: r#"audit_that = "...""#), ErrorFollowing, EncodeCrossCrate::Yes, "rustc_deprecated_safe_2024 is supposed to be used in libstd only", ), |
