mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-30 21:38:28 +00:00
Fix query cycle when encounter unevaluated const Fixes https://github.com/rust-lang/trait-system-refactor-initiative/issues/249 In this PR, the environment is dropped when evaluating const that does not have any generic parameter to fix the query cycle.