rust/compiler
Jacob Pratt 7f14d2eba4
Rollup merge of #137334 - compiler-errors:edition-2024-fresh-2, r=saethlin,traviscross
Greatly simplify lifetime captures in edition 2024

Remove most of the `+ Captures` and `+ '_` from the compiler, since they are now unnecessary with the new edition 2021 lifetime capture rules. Use some `+ 'tcx` and `+ 'static` rather than being overly verbose with precise capturing syntax.
2025-02-23 02:44:18 -05:00
..
rustc Fix overcapturing, unsafe extern blocks, and new unsafe ops 2025-02-22 00:01:48 +00:00
rustc_abi Rollup merge of #137334 - compiler-errors:edition-2024-fresh-2, r=saethlin,traviscross 2025-02-23 02:44:18 -05:00
rustc_arena Upgrade the compiler to edition 2024 2025-02-22 00:01:48 +00:00
rustc_ast Auto merge of #137420 - matthiaskrgr:rollup-rr0q37f, r=matthiaskrgr 2025-02-22 13:32:44 +00:00
rustc_ast_ir Upgrade the compiler to edition 2024 2025-02-22 00:01:48 +00:00
rustc_ast_lowering Rollup merge of #137334 - compiler-errors:edition-2024-fresh-2, r=saethlin,traviscross 2025-02-23 02:44:18 -05:00
rustc_ast_passes Upgrade the compiler to edition 2024 2025-02-22 00:01:48 +00:00
rustc_ast_pretty Upgrade the compiler to edition 2024 2025-02-22 00:01:48 +00:00
rustc_attr_data_structures Upgrade the compiler to edition 2024 2025-02-22 00:01:48 +00:00
rustc_attr_parsing Greatly simplify lifetime captures in edition 2024 2025-02-22 22:24:52 +00:00
rustc_baked_icu_data Upgrade the compiler to edition 2024 2025-02-22 00:01:48 +00:00
rustc_borrowck Rollup merge of #137334 - compiler-errors:edition-2024-fresh-2, r=saethlin,traviscross 2025-02-23 02:44:18 -05:00
rustc_builtin_macros Rollup merge of #135501 - tgross35:stdlib-dependencies-private, r=bjorn3 2025-02-23 00:16:18 +01:00
rustc_codegen_cranelift Rollup merge of #137180 - compiler-errors:sym-regions, r=oli-obk 2025-02-23 00:16:19 +01:00
rustc_codegen_gcc Remove BackendRepr::Uninhabited, replaced with an uninhabited: bool field in LayoutData. 2025-02-20 13:27:32 -06:00
rustc_codegen_llvm Auto merge of #137420 - matthiaskrgr:rollup-rr0q37f, r=matthiaskrgr 2025-02-22 13:32:44 +00:00
rustc_codegen_ssa Rollup merge of #137180 - compiler-errors:sym-regions, r=oli-obk 2025-02-23 00:16:19 +01:00
rustc_const_eval Greatly simplify lifetime captures in edition 2024 2025-02-22 22:24:52 +00:00
rustc_data_structures Greatly simplify lifetime captures in edition 2024 2025-02-22 22:24:52 +00:00
rustc_driver Upgrade the compiler to edition 2024 2025-02-22 00:01:48 +00:00
rustc_driver_impl Upgrade the compiler to edition 2024 2025-02-22 00:01:48 +00:00
rustc_error_codes Upgrade the compiler to edition 2024 2025-02-22 00:01:48 +00:00
rustc_error_messages Upgrade the compiler to edition 2024 2025-02-22 00:01:48 +00:00
rustc_errors Rollup merge of #137333 - compiler-errors:edition-2024-fresh, r=Nadrieril 2025-02-22 11:36:43 +01:00
rustc_expand Greatly simplify lifetime captures in edition 2024 2025-02-22 22:24:52 +00:00
rustc_feature Auto merge of #137420 - matthiaskrgr:rollup-rr0q37f, r=matthiaskrgr 2025-02-22 13:32:44 +00:00
rustc_fluent_macro Upgrade the compiler to edition 2024 2025-02-22 00:01:48 +00:00
rustc_fs_util Upgrade the compiler to edition 2024 2025-02-22 00:01:48 +00:00
rustc_graphviz Upgrade the compiler to edition 2024 2025-02-22 00:01:48 +00:00
rustc_hashes Upgrade the compiler to edition 2024 2025-02-22 00:01:48 +00:00
rustc_hir Rollup merge of #137334 - compiler-errors:edition-2024-fresh-2, r=saethlin,traviscross 2025-02-23 02:44:18 -05:00
rustc_hir_analysis Rollup merge of #137334 - compiler-errors:edition-2024-fresh-2, r=saethlin,traviscross 2025-02-23 02:44:18 -05:00
rustc_hir_pretty Rollup merge of #137180 - compiler-errors:sym-regions, r=oli-obk 2025-02-23 00:16:19 +01:00
rustc_hir_typeck Rollup merge of #137415 - chenyukang:yukang-fix-137345-invalid-sugg, r=estebank 2025-02-23 00:16:21 +01:00
rustc_incremental Rollup merge of #137180 - compiler-errors:sym-regions, r=oli-obk 2025-02-23 00:16:19 +01:00
rustc_index Greatly simplify lifetime captures in edition 2024 2025-02-22 22:24:52 +00:00
rustc_index_macros Upgrade the compiler to edition 2024 2025-02-22 00:01:48 +00:00
rustc_infer Greatly simplify lifetime captures in edition 2024 2025-02-22 22:24:52 +00:00
rustc_interface Auto merge of #137420 - matthiaskrgr:rollup-rr0q37f, r=matthiaskrgr 2025-02-22 13:32:44 +00:00
rustc_lexer Greatly simplify lifetime captures in edition 2024 2025-02-22 22:24:52 +00:00
rustc_lint Rollup merge of #137334 - compiler-errors:edition-2024-fresh-2, r=saethlin,traviscross 2025-02-23 02:44:18 -05:00
rustc_lint_defs Fix binding mode problems 2025-02-22 00:13:19 +00:00
rustc_llvm Auto merge of #137420 - matthiaskrgr:rollup-rr0q37f, r=matthiaskrgr 2025-02-22 13:32:44 +00:00
rustc_log Upgrade the compiler to edition 2024 2025-02-22 00:01:48 +00:00
rustc_macros Fix binding mode problems 2025-02-22 00:13:19 +00:00
rustc_metadata Rollup merge of #137334 - compiler-errors:edition-2024-fresh-2, r=saethlin,traviscross 2025-02-23 02:44:18 -05:00
rustc_middle Rollup merge of #137334 - compiler-errors:edition-2024-fresh-2, r=saethlin,traviscross 2025-02-23 02:44:18 -05:00
rustc_mir_build Rollup merge of #137334 - compiler-errors:edition-2024-fresh-2, r=saethlin,traviscross 2025-02-23 02:44:18 -05:00
rustc_mir_dataflow Greatly simplify lifetime captures in edition 2024 2025-02-22 22:24:52 +00:00
rustc_mir_transform Greatly simplify lifetime captures in edition 2024 2025-02-22 22:24:52 +00:00
rustc_monomorphize Rollup merge of #137334 - compiler-errors:edition-2024-fresh-2, r=saethlin,traviscross 2025-02-23 02:44:18 -05:00
rustc_next_trait_solver Rollup merge of #137333 - compiler-errors:edition-2024-fresh, r=Nadrieril 2025-02-22 11:36:43 +01:00
rustc_parse Greatly simplify lifetime captures in edition 2024 2025-02-22 22:24:52 +00:00
rustc_parse_format Upgrade the compiler to edition 2024 2025-02-22 00:01:48 +00:00
rustc_passes Rollup merge of #137180 - compiler-errors:sym-regions, r=oli-obk 2025-02-23 00:16:19 +01:00
rustc_pattern_analysis Greatly simplify lifetime captures in edition 2024 2025-02-22 22:24:52 +00:00
rustc_privacy Rollup merge of #137180 - compiler-errors:sym-regions, r=oli-obk 2025-02-23 00:16:19 +01:00
rustc_query_impl Upgrade the compiler to edition 2024 2025-02-22 00:01:48 +00:00
rustc_query_system Greatly simplify lifetime captures in edition 2024 2025-02-22 22:24:52 +00:00
rustc_resolve Fix binding mode problems 2025-02-22 00:13:19 +00:00
rustc_sanitizers Upgrade the compiler to edition 2024 2025-02-22 00:01:48 +00:00
rustc_serialize Rollup merge of #137121 - bend-n:master, r=Noratrieb 2025-02-23 00:16:18 +01:00
rustc_session Greatly simplify lifetime captures in edition 2024 2025-02-22 22:24:52 +00:00
rustc_smir Upgrade the compiler to edition 2024 2025-02-22 00:01:48 +00:00
rustc_span Fix binding mode problems 2025-02-22 00:13:19 +00:00
rustc_symbol_mangling Upgrade the compiler to edition 2024 2025-02-22 00:01:48 +00:00
rustc_target Upgrade the compiler to edition 2024 2025-02-22 00:01:48 +00:00
rustc_trait_selection Greatly simplify lifetime captures in edition 2024 2025-02-22 22:24:52 +00:00
rustc_traits Rollup merge of #137333 - compiler-errors:edition-2024-fresh, r=Nadrieril 2025-02-22 11:36:43 +01:00
rustc_transmute Upgrade the compiler to edition 2024 2025-02-22 00:01:48 +00:00
rustc_ty_utils Rollup merge of #137334 - compiler-errors:edition-2024-fresh-2, r=saethlin,traviscross 2025-02-23 02:44:18 -05:00
rustc_type_ir Greatly simplify lifetime captures in edition 2024 2025-02-22 22:24:52 +00:00
rustc_type_ir_macros Upgrade the compiler to edition 2024 2025-02-22 00:01:48 +00:00
stable_mir Greatly simplify lifetime captures in edition 2024 2025-02-22 22:24:52 +00:00