mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 17:18:32 +03:00
a3898aaeb3
fix inference variables leaking into HIR const literal lowering logic Inference variables could leak into further const lowering logic It ICEs when query system tries to cache `lit_to_const()` after its execution and panics, because inference variables are not hashable for some reason Fixes rust-lang/rust#153524 Fixes rust-lang/rust#153525
For more information about how rustc works, see the rustc dev guide.