mirror of
https://github.com/allankoechke/rust.git
synced 2026-11-30 11:05:36 +00:00
Fix ICE on { _ } const args in bodies by tracking const-only infer args
closes: rust-lang/rust#160798
r? @khyperia
PS: Here, I am following what Boxy suggested as solution 5, here: [#project-const-generics > Should { _ } be kind ambiguous?](https://rust-lang.zulipchat.com/#narrow/channel/260443-project-const-generics/topic/Should.20.7B.20_.20.7D.20be.20kind.20ambiguous.3F/with/616005728)