mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-03 06:25:40 +00:00
Spans are independent of the body being borrow-checked, so they don't need remapping when promoting type-tests and they yield more specific error spans inside bodies of closures/inline consts.