rust/compiler
Matthias Krüger f13feb34dc
Rollup merge of #137377 - bjorn3:crate_loader_cleanup, r=compiler-errors
Always allow reusing cratenum in CrateLoader::load

The only case where can_reuse_cratenum could have been false in the past are rustc plugins, support for which has been removed over a year ago now. Nowadays the only case where locator.tuple is not target_triple is when loading a proc macro, in which case we also set can_reuse_cratenum to true. As such it is always true and we can remove some dead code.
2025-02-22 11:36:45 +01:00
..
rustc Fix overcapturing, unsafe extern blocks, and new unsafe ops 2025-02-22 00:01:48 +00:00
rustc_abi Fix binding mode problems 2025-02-22 00:13:19 +00:00
rustc_arena Upgrade the compiler to edition 2024 2025-02-22 00:01:48 +00:00
rustc_ast Rollup merge of #137333 - compiler-errors:edition-2024-fresh, r=Nadrieril 2025-02-22 11:36:43 +01:00
rustc_ast_ir Upgrade the compiler to edition 2024 2025-02-22 00:01:48 +00:00
rustc_ast_lowering Upgrade the compiler to edition 2024 2025-02-22 00:01:48 +00: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 Upgrade the compiler to edition 2024 2025-02-22 00:01:48 +00:00
rustc_baked_icu_data Upgrade the compiler to edition 2024 2025-02-22 00:01:48 +00:00
rustc_borrowck Fix binding mode problems 2025-02-22 00:13:19 +00:00
rustc_builtin_macros Upgrade the compiler to edition 2024 2025-02-22 00:01:48 +00:00
rustc_codegen_cranelift Remove BackendRepr::Uninhabited, replaced with an uninhabited: bool field in LayoutData. 2025-02-20 13:27:32 -06: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 Fix overcapturing, unsafe extern blocks, and new unsafe ops 2025-02-22 00:01:48 +00:00
rustc_codegen_ssa Fix binding mode problems 2025-02-22 00:13:19 +00:00
rustc_const_eval Fix binding mode problems 2025-02-22 00:13:19 +00:00
rustc_data_structures Fix binding mode problems 2025-02-22 00:13:19 +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 Rollup merge of #137333 - compiler-errors:edition-2024-fresh, r=Nadrieril 2025-02-22 11:36:43 +01:00
rustc_feature Rollup merge of #137333 - compiler-errors:edition-2024-fresh, r=Nadrieril 2025-02-22 11:36:43 +01: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 Fix binding mode problems 2025-02-22 00:13:19 +00:00
rustc_hir_analysis Rollup merge of #137333 - compiler-errors:edition-2024-fresh, r=Nadrieril 2025-02-22 11:36:43 +01:00
rustc_hir_pretty Fix binding mode problems 2025-02-22 00:13:19 +00:00
rustc_hir_typeck Rollup merge of #137333 - compiler-errors:edition-2024-fresh, r=Nadrieril 2025-02-22 11:36:43 +01:00
rustc_incremental Upgrade the compiler to edition 2024 2025-02-22 00:01:48 +00:00
rustc_index Fix binding mode problems 2025-02-22 00:13:19 +00:00
rustc_index_macros Upgrade the compiler to edition 2024 2025-02-22 00:01:48 +00:00
rustc_infer Upgrade the compiler to edition 2024 2025-02-22 00:01:48 +00:00
rustc_interface Rollup merge of #137356 - nik-rev:FERRIS, r=compiler-errors 2025-02-22 11:36:44 +01:00
rustc_lexer Upgrade the compiler to edition 2024 2025-02-22 00:01:48 +00:00
rustc_lint Rollup merge of #137333 - compiler-errors:edition-2024-fresh, r=Nadrieril 2025-02-22 11:36:43 +01:00
rustc_lint_defs Fix binding mode problems 2025-02-22 00:13:19 +00:00
rustc_llvm Fix overcapturing, unsafe extern blocks, and new unsafe ops 2025-02-22 00:01:48 +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 #137377 - bjorn3:crate_loader_cleanup, r=compiler-errors 2025-02-22 11:36:45 +01:00
rustc_middle Rollup merge of #137333 - compiler-errors:edition-2024-fresh, r=Nadrieril 2025-02-22 11:36:43 +01:00
rustc_mir_build Fix binding mode problems 2025-02-22 00:13:19 +00:00
rustc_mir_dataflow Fix binding mode problems 2025-02-22 00:13:19 +00:00
rustc_mir_transform Fix binding mode problems 2025-02-22 00:13:19 +00:00
rustc_monomorphize Fix binding mode problems 2025-02-22 00:13:19 +00: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 Rollup merge of #137333 - compiler-errors:edition-2024-fresh, r=Nadrieril 2025-02-22 11:36:43 +01:00
rustc_parse_format Upgrade the compiler to edition 2024 2025-02-22 00:01:48 +00:00
rustc_passes Fix binding mode problems 2025-02-22 00:13:19 +00:00
rustc_pattern_analysis Upgrade the compiler to edition 2024 2025-02-22 00:01:48 +00:00
rustc_privacy Upgrade the compiler to edition 2024 2025-02-22 00:01:48 +00:00
rustc_query_impl Upgrade the compiler to edition 2024 2025-02-22 00:01:48 +00:00
rustc_query_system Upgrade the compiler to edition 2024 2025-02-22 00:01:48 +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 Upgrade the compiler to edition 2024 2025-02-22 00:01:48 +00:00
rustc_session Fix binding mode problems 2025-02-22 00:13:19 +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 Rollup merge of #137333 - compiler-errors:edition-2024-fresh, r=Nadrieril 2025-02-22 11:36:43 +01: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 #137333 - compiler-errors:edition-2024-fresh, r=Nadrieril 2025-02-22 11:36:43 +01:00
rustc_type_ir Rollup merge of #137333 - compiler-errors:edition-2024-fresh, r=Nadrieril 2025-02-22 11:36:43 +01:00
rustc_type_ir_macros Upgrade the compiler to edition 2024 2025-02-22 00:01:48 +00:00
stable_mir Upgrade the compiler to edition 2024 2025-02-22 00:01:48 +00:00