rust/compiler/rustc_trait_selection/src
Trevor Gross 8a513f1720
Rollup merge of #129208 - veluca93:adt_const_fix, r=BoxyUwU
Fix order of normalization and recursion in const folding.

Fixes #126831.

Without this patch, type normalization is not always idempotent, which leads to all sorts of bugs in places that assume that normalizing a normalized type does nothing.

Tracking issue: https://github.com/rust-lang/rust/issues/95174

r? BoxyUwU
2024-08-18 23:41:49 -05:00
..
error_reporting Rollup merge of #128084 - surechen:fix_125997_v1, r=cjgillot 2024-08-18 23:41:46 -05:00
errors Reformat use declarations. 2024-07-29 08:26:52 +10:00
solve Rollup merge of #128828 - lcnr:search-graph-11, r=compiler-errors 2024-08-14 21:43:07 +08:00
traits Fix order of normalization and recursion in const folding. 2024-08-18 00:07:41 +02:00
errors.rs Auto merge of #128083 - Mark-Simulacrum:bump-bootstrap, r=albertlarsan68 2024-07-30 17:49:08 +00:00
infer.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
lib.rs Move all error reporting into rustc_trait_selection 2024-07-21 22:34:35 -04:00
regions.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
solve.rs Rename a bunch of things 2024-06-21 12:32:05 -04:00