rust/compiler/rustc_trait_selection/src
Matthias Krüger f6b8a9f6db
Rollup merge of #108883 - compiler-errors:post-norm-copy-err, r=BoxyUwU
Suppress copy impl error when post-normalized type references errors

Suppress spurious errors from the `Copy` impl validity check when fields have bad types *post*-normalization, instead of just pre-normalization.

----

The const-generics test regressed recently due to #107965, cc `````@BoxyUwU.`````
 * I think it's because `[_; 0u32]: Copy` now fails to hold because a nested obligation `ConstArgHasType(0u32, usize)` fails.
 * It's interesting that `[const_error]` shows up in the type only after normalization, though, but I'm pretty sure that it's due to the evaluate call that happens when normalizing unevaluated consts.
2023-03-08 21:24:51 +01:00
..
solve drop_tracking_mir: support new solver. 2023-03-05 08:29:35 +00:00
traits Rollup merge of #108883 - compiler-errors:post-norm-copy-err, r=BoxyUwU 2023-03-08 21:24:51 +01:00
errors.rs errors: generate typed identifiers in each crate 2023-02-22 09:15:53 +00:00
infer.rs Rollup merge of #108350 - compiler-errors:assoc-type-bound-dogfooding, r=oli-obk 2023-02-23 06:18:07 +01:00
lib.rs errors: generate typed identifiers in each crate 2023-02-22 09:15:53 +00:00