mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-29 03:37:26 +03:00
3bc1eaa66a
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.