rust/compiler/rustc_expand/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
..
mbe compiler: clippy::complexity fixes 2022-02-03 23:16:03 +01:00
mut_visit rustc_ast: Turn MutVisitor::token_visiting_enabled into a constant 2021-10-18 00:23:24 +03:00
parse re-format with new rustfmt 2021-11-30 13:08:41 -05:00
tokenstream Rework SESSION_GLOBALS API to prevent overwriting it 2021-07-08 16:16:28 +02:00
base.rs Adopt let else in more places 2022-02-19 17:27:43 +01:00
build.rs Detect bare blocks with type ascription that were meant to be a struct literal 2021-09-03 14:43:04 +00:00
config.rs Adopt let else in more places 2022-02-19 17:27:43 +01:00
expand.rs Adopt let else in more places 2022-02-19 17:27:43 +01:00
lib.rs add a rustc::query_stability lint 2022-02-01 10:15:59 +01:00
mbe.rs fix few typos 2021-04-19 15:57:08 +03:00
module.rs Adopt let else in more places 2022-02-19 17:27:43 +01:00
placeholders.rs expand: Rename some AstFragments to match AST structures 2022-01-07 13:50:03 +08:00
proc_macro_server.rs Adopt let else in more places 2022-02-19 17:27:43 +01:00
proc_macro.rs proc_macro: Add an expand_expr method to TokenStream 2021-11-12 15:41:40 -05:00
tests.rs Rework SESSION_GLOBALS API to prevent overwriting it 2021-07-08 16:16:28 +02:00