mirror of
https://github.com/rust-lang/rust.git
synced 2026-01-20 06:10:39 +00:00
This changes the remaining span for the cast, because the new `Cast` category has a higher priority (lower `Ord`) than the old `Coercion` category, so we no longer report the region error for the "unsizing" coercion from `*const Trait` to itself.