#[diagnostic::do_not_recommend]
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
TraitRef::to_string
TraitRef::ord
DefId