rust/compiler
bors 7a0600714a Auto merge of #109091 - Nilstrieb:match-on-attr, r=cjgillot
Cleanup `codegen_fn_attrs`

The `match` control flow construct has been stable since 1.0, we should use it here.

Sorry for the hard to review diff, I did try to at least split it into two commits. But looking at before-after side-by-side (instead of whatever github is doing) is probably the easiest way to make sure that I didn't forget about anything.

On top of #109088, you can wait for that
2023-03-27 05:01:19 +00:00
..
rustc
rustc_abi Refactor: VariantIdx::from_u32(0) -> FIRST_VARIANT 2023-03-25 18:58:25 -07:00
rustc_apfloat
rustc_arena
rustc_ast rustc: Remove unused Session argument from some attribute functions 2023-03-22 13:55:55 +04:00
rustc_ast_lowering rustc: Remove unused Session argument from some attribute functions 2023-03-22 13:55:55 +04:00
rustc_ast_passes rustc: Remove unused Session argument from some attribute functions 2023-03-22 13:55:55 +04:00
rustc_ast_pretty
rustc_attr Adjust documentation. 2023-03-24 18:53:36 +00:00
rustc_baked_icu_data
rustc_borrowck Refactor: VariantIdx::from_u32(0) -> FIRST_VARIANT 2023-03-25 18:58:25 -07:00
rustc_builtin_macros rustc_interface: Add a new query pre_configure 2023-03-23 14:22:48 +04:00
rustc_codegen_cranelift Refactor: VariantIdx::from_u32(0) -> FIRST_VARIANT 2023-03-25 18:58:25 -07:00
rustc_codegen_gcc
rustc_codegen_llvm Auto merge of #109220 - nikic:poison, r=cuviper 2023-03-24 15:39:40 +00:00
rustc_codegen_ssa Auto merge of #109091 - Nilstrieb:match-on-attr, r=cjgillot 2023-03-27 05:01:19 +00:00
rustc_const_eval Refactor: VariantIdx::from_u32(0) -> FIRST_VARIANT 2023-03-25 18:58:25 -07:00
rustc_data_structures Rollup merge of #107718 - Zoxc:z-time, r=nnethercote 2023-03-23 19:55:43 +01:00
rustc_driver
rustc_driver_impl Rollup merge of #107718 - Zoxc:z-time, r=nnethercote 2023-03-23 19:55:43 +01:00
rustc_error_codes Rollup merge of #109501 - lukas-code:link, r=WaffleLapkin 2023-03-22 22:44:43 +01:00
rustc_error_messages
rustc_errors Rollup merge of #109403 - chenyukang:yukang/fix-109396, r=estebank 2023-03-21 19:00:13 +01:00
rustc_expand Separate find_*_stability. 2023-03-23 19:52:27 +00:00
rustc_feature Rollup merge of #108549 - clubby789:fix-link-cfg-issue, r=eholk 2023-03-23 19:55:44 +01:00
rustc_fs_util
rustc_graphviz
rustc_hir Rollup merge of #109179 - llogiq:intrinsically-option-as-slice, r=eholk 2023-03-23 00:00:31 +05:30
rustc_hir_analysis Rollup merge of #109545 - compiler-errors:rpitit-wf, r=eholk 2023-03-25 03:37:12 +01:00
rustc_hir_pretty
rustc_hir_typeck Refactor: VariantIdx::from_u32(0) -> FIRST_VARIANT 2023-03-25 18:58:25 -07:00
rustc_incremental Rollup merge of #109231 - Zoxc:fs-non-canon, r=eholk 2023-03-23 19:55:45 +01:00
rustc_index Use SmallVec in bitsets 2023-03-21 22:20:09 +01:00
rustc_infer Auto merge of #109517 - matthiaskrgr:rollup-m3orqzd, r=matthiaskrgr 2023-03-23 12:35:05 +00:00
rustc_interface Rollup merge of #109231 - Zoxc:fs-non-canon, r=eholk 2023-03-23 19:55:45 +01:00
rustc_lexer
rustc_lint Refactor: VariantIdx::from_u32(0) -> FIRST_VARIANT 2023-03-25 18:58:25 -07:00
rustc_lint_defs Rollup merge of #108588 - ehuss:lint-docs-produces, r=eholk 2023-03-23 19:55:45 +01:00
rustc_llvm Link against libc++ on AIX 2023-03-23 16:33:54 +08:00
rustc_log
rustc_macros
rustc_metadata Auto merge of #109547 - matthiaskrgr:rollup-zczqgdk, r=matthiaskrgr 2023-03-24 02:29:48 +00:00
rustc_middle Rollup merge of #109621 - scottmcm:update-variantidx, r=compiler-errors 2023-03-26 08:39:28 +02:00
rustc_mir_build Refactor: VariantIdx::from_u32(0) -> FIRST_VARIANT 2023-03-25 18:58:25 -07:00
rustc_mir_dataflow Refactor: VariantIdx::from_u32(0) -> FIRST_VARIANT 2023-03-25 18:58:25 -07:00
rustc_mir_transform Auto merge of #109626 - matthiaskrgr:rollup-k0y7bdd, r=matthiaskrgr 2023-03-26 12:05:38 +00:00
rustc_monomorphize
rustc_parse Rollup merge of #109203 - Ezrashaw:refactor-ident-parsing, r=Nilstrieb 2023-03-22 22:44:39 +01:00
rustc_parse_format
rustc_passes Separate find_*_stability. 2023-03-23 19:52:27 +00:00
rustc_plugin_impl expand: Pass ast::Crate by reference to AST transforming passes 2023-03-23 14:20:55 +04:00
rustc_privacy Rename AliasEq -> AliasRelate 2023-03-23 05:56:40 +00:00
rustc_query_impl AsLocalKey trait 2023-03-21 15:38:52 +00:00
rustc_query_system Auto merge of #109100 - Zoxc:merge-query-try, r=cjgillot 2023-03-25 12:04:46 +00:00
rustc_resolve Auto merge of #107932 - petrochenkov:onlyexport, r=jyn514 2023-03-24 21:10:51 +00:00
rustc_serialize
rustc_session Rollup merge of #109231 - Zoxc:fs-non-canon, r=eholk 2023-03-23 19:55:45 +01:00
rustc_smir
rustc_span Rollup merge of #109213 - oli-obk:cstore, r=cjgillot 2023-03-22 22:44:40 +01:00
rustc_symbol_mangling Use local key in providers 2023-03-21 15:38:51 +00:00
rustc_target Rollup merge of #109231 - Zoxc:fs-non-canon, r=eholk 2023-03-23 19:55:45 +01:00
rustc_trait_selection Still-further-specializable projections are ambiguous 2023-03-25 23:51:08 +00:00
rustc_traits Rename AliasEq -> AliasRelate 2023-03-23 05:56:40 +00:00
rustc_transmute
rustc_ty_utils Refactor: VariantIdx::from_u32(0) -> FIRST_VARIANT 2023-03-25 18:58:25 -07:00
rustc_type_ir Generate simpler MIR for shifts 2023-03-22 13:32:12 -07:00