Pruning a dependency results in a confused compiler #118468
Labels
A-incr-comp
Area: Incremental compilation
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I was in the middle of swapping the 'tokio_postgres' library for 'sqlx'. After rewriting my main db connector function I proceeded to unceremoniously hack away all the use statements for the old library so that the linter may tell me where there's still any dependencies left in the code. This compiler bug (as the message in the backtrace tells me) is a result of all that reckless abandon.
Please also note that I included two separate backtrace messages as somehow the one with RUST_BACKTRACE=1 seemed less detailed to me.
Code
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: