Files
rust/compiler/rustc_middle/src
Stuart Cook e25d7a898a Rollup merge of #150799 - mcga, r=BoxyUwU
Fix ICE: can't type-check body of DefId  for issue #148729

This commit fixes https://github.com/rust-lang/rust/issues/148729 for min_const_generic_args https://github.com/rust-lang/rust/issues/132980.

It's pretty small PR. The first commit makes sure that the `type_const`s are made into normal consts in const expressions.

The next one just handles the case https://github.com/rust-lang/rust/issues/148729 of where the type of the const was omitted at which point it was trying to treat a `type_const` again as a regular const. That obviously will fail since a type_const does not have a body.

@rustbot label +F-associated_const_equality +F-min_generic_const_args +I-ICE
2026-01-11 14:27:56 +11:00
..
2026-01-07 08:44:32 +08:00
2025-09-08 14:17:56 +02:00
2025-12-28 16:12:27 +00:00
2025-12-12 11:28:58 +01:00
2025-03-30 01:32:21 +03:00
2025-12-16 08:42:04 -08:00
2025-03-15 06:34:36 +00:00