rust/compiler/rustc_span/src
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
..
analyze_source_file remove redundant closures (clippy::redundant_closure) 2021-01-03 13:34:24 +01:00
lev_distance Introduce a limit to Levenshtein distance computation 2022-01-26 12:38:22 +01:00
source_map Split span_to_string into span_to_diagnostic/embeddable_string 2021-05-11 00:04:12 +01:00
symbol Move the Lock into symbol::Interner 2021-09-15 18:46:45 +02:00
analyze_source_file.rs Fix some clippy lints 2020-12-03 17:08:19 -05:00
caching_source_map_view.rs Convert debug_assert to assert in CachingSourceMapView 2021-09-17 12:01:29 -05:00
def_id.rs Make Decodable and Decoder infallible. 2022-01-22 10:38:31 +11:00
edition.rs Update LATEST_STABLE_EDITION to 2021. 2021-08-30 15:33:09 +02:00
fatal_error.rs
hygiene.rs Make Decodable and Decoder infallible. 2022-01-22 10:38:31 +11:00
lev_distance.rs Introduce a limit to Levenshtein distance computation 2022-01-26 12:38:22 +01:00
lib.rs add a rustc::query_stability lint 2022-02-01 10:15:59 +01:00
source_map.rs Make span_extend_to_prev_str() more robust 2022-01-31 19:28:15 +01:00
span_encoding.rs try apply rustc_pass_by_value to Span 2022-01-27 11:29:41 +01:00
symbol.rs Rollup merge of #93824 - Amanieu:stable_cfg_target_has_atomic, r=davidtwco 2022-02-10 12:10:00 +01:00
tests.rs Inline implementation of lookup_line 2021-07-08 23:30:53 +02:00