mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-03 15:00:03 +00:00
Fix suggestion spans inside macros for the `unused_must_use` lint This PR fixes the suggestion spans inside macros for the `unused_must_use` lint by trying to find the oldest ancestor span. Fixes https://github.com/rust-lang/rust/issues/143025