Closed
Description
Ideally, when a deprecation happens because of a rename, cargo fix
could rename it for you.
We could make the deprecation warning issue the correct suggestion by adding another field to the rustc_deprecated
attribute, as in:
#[rustc_deprecated(renamed = "std::str::str::trim_start")]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment