mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
7b500d852d
The rules were baffling when I ran in to them trying to add some impls, so I made the compiler explain them to me. The logic of the successful cases is unchanged, but I did rearrange it to reverse the order of the primitive and `Adt` cases; this makes producing the errors easier.