Closed leakingtapan closed 2 years ago
@rustbot label +A-incr-comp
Seems you're using an old Rust, and it looks like a duplicate of #94185 and similar issues.
My version is the same as https://github.com/rust-lang/rust/issues/94185 and the exception also looks similar, close this and will upgrade the rust version.
Code
I have an enum like below
I rename the enum to:
That's the only change I made. After the rename, I recompiled my code and rustc paniced. See below for stack trace. The panic happens consistently afterwards.
I tried several ways to reproduce the bug:
cargo clean
andcargo build
the problem is gone too.So I suspect this has something to do with the local build caches regarding the symbol name for
Task
enum before and after the rename.Sorry I don't have a way to create a minimum repro for this given the nature of this bug.
Meta
rustc --version --verbose
:Error output
Backtrace
```
```