mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 09:53:04 +03:00
b7c48b4691
Make `span_extend_to_prev_str()` more robust Fixes #91560. The logic in `span_extend_to_prev_str()` is currently quite brittle and fails if there is extra whitespace or something else in between, and it also should return an `Option` but doesn't currently.