mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 01:05:39 +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.