You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this is a consequence of using extern_crate_item_prelude and rustc_private. The extern crate declarations are removed, but those are still required. There are a few ways you can work around this:
Stop using extern_crate_item_prelude. Remove the feature, and fix all the errors, then do the idiom fix.
There is a cargo update coming soon that will allow you to use the --broken-code option to cargo fix so that it will leave the broken code, and then you can add these lines back:
There was a related fix rust-lang/rust#54650 which dealt with this for proc_macro, but I don't think any of the private crates got the same treatment. Something similar was reported at rust-lang/rust#55592. I'm curious if rust-lang/rust#55884 will have any impact on this.
Problem
cargo fix --edition-idioms
doesn't apply fixes and asks to report an issue.Steps
Notes
Output of
cargo version
:The text was updated successfully, but these errors were encountered: