Closed oknozor closed 1 year ago
I also ran into this issue today. No small test case yet, my repro:
cd mm0-rs
cargo +nightly clippy --all-features
I am having difficulty minimizing the bug. Many small changes that should not change the meaning of the code seem to cause the bug to disappear, and CI has not replicated the bug, although I can reliably trigger it locally, so I would guess it is a memory error of some kind, and hopefully the stack trace will be good enough to track this one down.
This sounds like https://github.com/rust-lang/rust/issues/92667
Maybe close this as the referenced bug is closed? Didn't check though that it's fixed.
Hello I stumbled into this today, reporting the bug as suggested :
Reproduce :
cargo clippy --fix
cargo clippy
againBacktrace
```text Checking onagre v0.1.0 (/home/okno/_Workshop/MyRepos/onagre) thread 'rustc' panicked at 'no entry found for key', compiler/rustc_metadata/src/rmeta/decoder.rs:1640:13 stack backtrace: 0: rust_begin_unwind at /rustc/092e1c9d23158d81be27bb6f71bdd0c6282478fb/library/std/src/panicking.rs:498:5 1: core::panicking::panic_fmt at /rustc/092e1c9d23158d81be27bb6f71bdd0c6282478fb/library/core/src/panicking.rs:110:14 2: core::panicking::panic_display at /rustc/092e1c9d23158d81be27bb6f71bdd0c6282478fb/library/core/src/panicking.rs:65:5 3: core::panicking::panic_str at /rustc/092e1c9d23158d81be27bb6f71bdd0c6282478fb/library/core/src/panicking.rs:56:5 4: core::option::expect_failed at /rustc/092e1c9d23158d81be27bb6f71bdd0c6282478fb/library/core/src/option.rs:1817:5 5: