Start using #[diagnostic::do_not_recommend] in the standard library

This commit starts using `#[diagnostic::do_not_recommend]` in the
standard library to improve some error messages. In this case we just
hide a certain nightly only impl as suggested in #121521
This commit is contained in:
Georg Semmler
2024-07-20 16:45:33 +02:00
parent 1afc5fd042
commit 00da9fc961
6 changed files with 10 additions and 22 deletions

View File

@@ -165,6 +165,7 @@
#![feature(const_unsafecell_get_mut)]
#![feature(const_waker)]
#![feature(coverage_attribute)]
#![feature(do_not_recommend)]
#![feature(duration_consts_float)]
#![feature(internal_impls_macro)]
#![feature(ip)]