-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Closed
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsC-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.
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")]
kennytm and joelgallant
Metadata
Metadata
Assignees
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsC-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.