-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support cargo fix
for rename deprecations
#53802
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
Comments
kennytm
added
A-diagnostics
Area: Messages for errors, warnings, and lints
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
labels
Aug 30, 2018
That would be great. I've used these methods in many places. While I like the new names better, I don't feel the need to change my code, so the deprecation churn is slightly annoying. |
Centril
added a commit
to Centril/rust
that referenced
this issue
Mar 26, 2019
add rustfix-able suggestions to trim_{left,right} deprecations Fixes rust-lang#53802 (technically already fixed by rust-lang#58002, but that issue is about these methods).
Centril
added a commit
to Centril/rust
that referenced
this issue
Mar 27, 2019
add rustfix-able suggestions to trim_{left,right} deprecations Fixes rust-lang#53802 (technically already fixed by rust-lang#58002, but that issue is about these methods).
Centril
added a commit
to Centril/rust
that referenced
this issue
Mar 27, 2019
add rustfix-able suggestions to trim_{left,right} deprecations Fixes rust-lang#53802 (technically already fixed by rust-lang#58002, but that issue is about these methods).
Centril
added a commit
to Centril/rust
that referenced
this issue
Mar 27, 2019
add rustfix-able suggestions to trim_{left,right} deprecations Fixes rust-lang#53802 (technically already fixed by rust-lang#58002, but that issue is about these methods).
cuviper
added a commit
to cuviper/rust
that referenced
this issue
Mar 28, 2019
add rustfix-able suggestions to trim_{left,right} deprecations Fixes rust-lang#53802 (technically already fixed by rust-lang#58002, but that issue is about these methods).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
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")]
The text was updated successfully, but these errors were encountered: