Allow to customize // TODO:
comment for deprecated safe autofix
Relevant for the deprecation of `CommandExt::before_exit` in #125970.
This commit is contained in:
parent
591ecb88df
commit
399ef23d2b
7 changed files with 42 additions and 13 deletions
|
@ -643,8 +643,8 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[
|
|||
through unstable paths"
|
||||
),
|
||||
rustc_attr!(
|
||||
rustc_deprecated_safe_2024, Normal, template!(Word), WarnFollowing,
|
||||
EncodeCrossCrate::Yes,
|
||||
rustc_deprecated_safe_2024, Normal, template!(List: r#"todo = "...""#),
|
||||
ErrorFollowing, EncodeCrossCrate::Yes,
|
||||
"rustc_deprecated_safe_2024 is supposed to be used in libstd only",
|
||||
),
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue