Strange Compiler Bug #124835
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 am very sorry, but I cannot seem to reproduce the bug easily.
Using the Diesel ORM and the diesel-derive-enum crate, I was able to make the compiler panic which was certainly unexpected to say the least, to fix the issue I did the sensible thing and ran
cargo clean
and redid the migrations (diesel migrations redo --all
) to make sure the database was in a sane state, that seemed to fix the issue so I cannot get the backtrace. Something interesting to note was that before cleaning out thetarget
directory and restoring the database, I tried compiling with therelease
profile for the first time and that worked, too.Everything seemed to work before adding the diesel-derive-enum crate.
Code
Meta
rustc --version --verbose
:Error output
cargo build
Backtrace
The text was updated successfully, but these errors were encountered: