mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-31 21:47:15 +03:00
04d8b94a09
Preserve spans when hiding do_not_recommend impls Fixes rust-lang/rust#156475 by restoring the root span only when the current refined span has wandered outside the parent obligation.