#[deprecated_safe_2024]: Also use the // TODO: hint in the compil… · patricklam/verify-rust-std@f81c96a (original) (raw)

Original file line number Diff line number Diff line change
@@ -359,7 +359,7 @@ impl Error for VarError {
359 359 #[cfg_attr(
360 360 not(bootstrap),
361 361 rustc_deprecated_safe_2024(
362 - todo = "Audit that the environment access only happens in single-threaded code."
362 + audit_that = "the environment access only happens in single-threaded code"
363 363 )
364 364 )]
365 365 #[stable(feature = "env", since = "1.0.0")]
@@ -429,7 +429,7 @@ pub unsafe fn set_var<K: AsRef, V: AsRef>(key: K, value: V) {
429 429 #[cfg_attr(
430 430 not(bootstrap),
431 431 rustc_deprecated_safe_2024(
432 - todo = "Audit that the environment access only happens in single-threaded code."
432 + audit_that = "the environment access only happens in single-threaded code"
433 433 )
434 434 )]
435 435 #[stable(feature = "env", since = "1.0.0")]