rust/compiler
Yuki Okushi d50349ba8d
Rollup merge of #76995 - LingMan:middle_matches, r=varkor
Reduce boilerplate with the matches! macro

Replaces simple bool `match`es of the form

    match $expr {
        $pattern => true
        _ => false
    }

and their inverse with invocations of the matches! macro.

Limited to rustc_middle for now to get my feet wet.
2020-10-06 16:25:58 +09:00
..
rustc
rustc_apfloat Backport another LLVM commit to rustc_apfloat 2020-10-04 02:02:25 +02:00
rustc_arena
rustc_ast
rustc_ast_lowering
rustc_ast_passes
rustc_ast_pretty
rustc_attr
rustc_builtin_macros
rustc_codegen_llvm Updates to experimental coverage counter injection 2020-10-05 08:02:58 -07:00
rustc_codegen_ssa Auto merge of #77080 - richkadel:llvm-coverage-counters-2, r=tmandry 2020-10-05 19:34:44 +00:00
rustc_data_structures Auto merge of #77080 - richkadel:llvm-coverage-counters-2, r=tmandry 2020-10-05 19:34:44 +00:00
rustc_driver Rollup merge of #75143 - oli-obk:tracing, r=RalfJung 2020-10-04 11:44:49 +09:00
rustc_error_codes Create E0777 error code for "invalid literal in derive" 2020-10-01 20:41:57 +02:00
rustc_errors
rustc_expand Improve E0777 help message 2020-10-02 16:33:44 +02:00
rustc_feature Rollup merge of #77439 - varkor:min_const_generics-tests, r=lcnr,estebank 2020-10-05 02:29:36 +02:00
rustc_fs_util
rustc_graphviz
rustc_hir Rollup merge of #77514 - scottmcm:less-once-chain-once, r=estebank 2020-10-05 02:29:42 +02:00
rustc_hir_pretty
rustc_incremental
rustc_index
rustc_infer Auto merge of #77171 - VFLashM:better_sso_structures, r=oli-obk 2020-10-05 17:18:01 +00:00
rustc_interface Add -Zprecise-enum-drop-elaboration 2020-10-01 11:31:43 -07:00
rustc_lexer
rustc_lint Uplift drop-bounds lint from clippy 2020-10-01 12:06:33 -07:00
rustc_llvm
rustc_macros
rustc_metadata
rustc_middle Rollup merge of #76995 - LingMan:middle_matches, r=varkor 2020-10-06 16:25:58 +09:00
rustc_mir Renamed tests to avoid exceeding Windows max path limit 2020-10-05 09:40:25 -07:00
rustc_mir_build Auto merge of #77552 - ecstatic-morse:body-def-id, r=lcnr 2020-10-05 09:26:32 +00:00
rustc_parse Rollup merge of #77444 - estebank:pat-field-label, r=davidtwco 2020-10-02 20:27:16 +02:00
rustc_parse_format
rustc_passes Rollup merge of #76329 - GuillaumeGomez:doc-alias-crate-level, r=matthewjasper 2020-10-05 02:29:27 +02:00
rustc_plugin_impl
rustc_privacy
rustc_query_system
rustc_resolve Rollup merge of #77439 - varkor:min_const_generics-tests, r=lcnr,estebank 2020-10-05 02:29:36 +02:00
rustc_save_analysis
rustc_serialize
rustc_session Updates to experimental coverage counter injection 2020-10-05 08:02:58 -07:00
rustc_span Updates to experimental coverage counter injection 2020-10-05 08:02:58 -07:00
rustc_symbol_mangling Permit ty::Bool in const generics for v0 mangling 2020-10-02 09:45:48 -04:00
rustc_target Returns values up to 2*usize by value 2020-10-02 00:23:25 +02:00
rustc_trait_selection Auto merge of #77171 - VFLashM:better_sso_structures, r=oli-obk 2020-10-05 17:18:01 +00:00
rustc_traits
rustc_ty
rustc_typeck Rollup merge of #77514 - scottmcm:less-once-chain-once, r=estebank 2020-10-05 02:29:42 +02:00