Hang in item-bodies checking when dependency contains pub use crate
#58430
Labels
C-bug
Category: This is a bug.
I-hang
Issue: The compiler never terminates, due to infinite loops, deadlock, livelock, etc.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Compiling the following pair of crates hangs and chews up memory.
src/main.rs
dep/src/lib.rs
Repro script:
Mentioning @petrochenkov and @nikomatsakis who worked on #45477.
Mentioning @nrc who hit this in a real project.
The text was updated successfully, but these errors were encountered: