rust/compiler/rustc_span/src
Matthias Krüger f2d6770f77
Rollup merge of #94146 - est31:let_else, r=cjgillot
Adopt let else in more places

Continuation of #89933, #91018, #91481, #93046, #93590, #94011.

I have extended my clippy lint to also recognize tuple passing and match statements. The diff caused by fixing it is way above 1 thousand lines. Thus, I split it up into multiple pull requests to make reviewing easier. This is the biggest of these PRs and handles the changes outside of rustdoc, rustc_typeck, rustc_const_eval, rustc_trait_selection, which were handled in PRs #94139, #94142, #94143, #94144.
2022-02-20 00:37:34 +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 mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
hygiene.rs Inline LocalExpnId::from_raw and LocalExpnId::as_raw 2022-02-15 19:08:12 +01:00
lev_distance.rs Introduce a limit to Levenshtein distance computation 2022-01-26 12:38:22 +01:00
lib.rs Adopt let else in more places 2022-02-19 17:27:43 +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 #93915 - Urgau:rfc-3013, r=petrochenkov 2022-02-18 23:23:10 +01:00
tests.rs Inline implementation of lookup_line 2021-07-08 23:30:53 +02:00