mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-28 03:24:11 +00:00
better ObligationCause for normalization errors in `can_type_implement_copy` Some logic is needed so we can point to the field when given totally nonsense types like `struct Foo(<u32 as Iterator>::Item);` Fixes #93687
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.