Incremental Compile Bug On Moved Imports #104874
Labels
A-incr-comp
Area: Incremental compilation
A-resolve
Area: Name/path resolution done by `rustc_resolve` specifically
C-bug
Category: This is a bug.
S-needs-repro
Status: This issue has no reproduction and needs a reproduction to make progress.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Whilst working on https://github.com/apache/arrow-rs I keep running into issues where incremental compilation gets confused by types that have been moved from one crate within the workspace to another.
I'm not really sure how to come up with a reproducer, as it seems to rely on stale state from previous builds that I can't find a way to reproduce. However, @carols10cents recommended I file an issue to at least alert you guys that something isn't quite right 😅
An example error would be
Related to apache/arrow-rs#3177
And goes away with a
cargo clean
.Edit: Interestingly it didn't appear to recompile any of the dependent crates, such as arrow-data, despite the fact they have changed... Perhaps this is a cargo bug??
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: