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
Is this something we expect rustfix to work with? It would have to move the rename into Cargo.toml, right? I don't know if we expect it to make changes there.
In the sense that this prevents entering the 2018 edition I think we'll want rustfix to handle this yeah. Although the ideal solution here is to add the rename to Cargo.toml using use crate::foo::getpid will also work in this situation. Editing Cargo.toml I think is definitely outside of rustfix's scope, though
… r=acrichto
"crate-ify" paths that begin with a renamed crate
This does two things:
- crate-ify paths that begin with a renamed crate (i.e., add `crate::`) to the front
Fixes#50996
I also added tests for a few other scenarios.
r? @alexcrichton
The following code:
generates no warnings, but when compiling with
--edition 2018
it will yield an error about no cratefoo
The text was updated successfully, but these errors were encountered: