mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
f66622c7ec
Always check `ConstArgHasType` even when otherwise ignoring fixes https://github.com/rust-lang/rust/issues/149774 helping @BoxyUwU finish up https://github.com/rust-lang/rust/pull/150322, this is a simple tweak/finishing-up of that PR. this is a breaking change that crater detected has some issues with in Boxy's PR, and hence needs a t-types FCP. I can go and help fix those crates if/once the break is signed off on.
For high-level intro to how type checking works in rustc, see the hir typeck chapter of the rustc dev guide.