Clippy panic: do not use 'optimized_mir' for constants: Static(Not)
#11120
Labels
C-bug
Category: Clippy is not doing the correct thing
Summary
Clippy panics when I try to lint the 'reproducer' code.
This also happens on the rust playground (the code).
Tools > Clippy
Reproducer
I tried this code:
I expected to see this happen:
Clippy to lint my code.
Instead, this happened:
Clippy panics with the message below.
Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: