rust/compiler/rustc_span
Matthias Krüger b7c48b4691
Rollup merge of #91607 - FabianWolff:issue-91560-const-span, r=jackh726
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.
2022-02-11 21:48:43 +01:00
..
src Rollup merge of #91607 - FabianWolff:issue-91560-const-span, r=jackh726 2022-02-11 21:48:43 +01:00
Cargo.toml