SIGN IN SIGN UP
rust-lang / rust UNCLAIMED

Empowering everyone to build reliable and efficient software.

0 0 46 Rust

Rollup merge of #156676 - qaijuang:diagnostics-do-not-recommend-span, r=chenyukang

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.
J
Jonathan Brouwer committed
04d8b94a0950173743f985167dd2dcbe2d9cc5d2
Committed by GitHub <noreply@github.com> on 5/18/2026, 1:19:45 AM