rust/compiler
bors 7e4b8d702f Auto merge of #146659 - cjgillot:impossible-taint, r=oli-obk
Consider errors in MIR as impossible predicates to empty the body.

The ICEs come from elaborating drops or performing state transform in MIR bodies that fail typeck or borrowck.

If the body is tainted, replace it with `unreachable`.

Fixes https://github.com/rust-lang/rust/issues/122630
Fixes https://github.com/rust-lang/rust/issues/122904
Fixes https://github.com/rust-lang/rust/issues/125185
Fixes https://github.com/rust-lang/rust/issues/139556
2025-09-21 16:28:12 +00:00
..
rustc Make llvm_enzyme a regular cargo feature 2025-09-15 15:31:56 +00:00
rustc_abi Rollup merge of #144066 - RalfJung:extern-c-variadics, r=workingjubilee 2025-09-02 17:08:52 +02:00
rustc_arena Introduce Arena::try_alloc_from_iter. 2025-04-19 01:13:18 +00:00
rustc_ast c-variadic: reject functions with unsupported extern ABI 2025-09-09 21:38:38 +02:00
rustc_ast_ir turn pointer width into an integer in target.json 2025-08-27 23:44:49 +02:00
rustc_ast_lowering Introduce hir::ImplItemImplKind 2025-09-12 15:14:15 -05:00
rustc_ast_passes Rollup merge of #146434 - folkertdev:c-variadic-inherent-methods, r=workingjubilee 2025-09-18 17:20:56 +02:00
rustc_ast_pretty Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_attr_parsing port #[rustc_coherence_is_core] to the new attribute parsing infrastructure 2025-09-17 10:02:23 -07:00
rustc_baked_icu_data Use default locale fallback data 2025-08-28 09:48:54 +00:00
rustc_borrowck Rollup merge of #146717 - amandasystems:remove-placeholder-hack, r=lcnr 2025-09-18 17:20:59 +02:00
rustc_builtin_macros Rollup merge of #146598 - bjorn3:feature_llvm_enzyme, r=davidtwco 2025-09-17 20:29:36 +02:00
rustc_codegen_cranelift Rollup merge of #146664 - fmease:clean-up-dyn, r=jdonszelmann 2025-09-18 11:48:51 +10:00
rustc_codegen_gcc Remove unreachable unsized arg handling in store_fn_arg/store_arg in codegen 2025-09-12 09:49:41 -05:00
rustc_codegen_llvm generate list of all variants with target_spec_enum 2025-09-19 22:14:50 +00:00
rustc_codegen_ssa Rollup merge of #146793 - folkertdev:naked-asm-func-end, r=Amanieu 2025-09-21 14:42:35 +10:00
rustc_const_eval Rollup merge of #146597 - modhanami:add-struct-tail-recursion-limit-span, r=oli-obk 2025-09-18 17:20:57 +02:00
rustc_data_structures avoid calling insert_presorted more than once 2025-09-10 08:40:12 +02:00
rustc_driver compiler: Add Windows resources to rustc-main and rustc_driver 2025-09-05 14:06:31 -04:00
rustc_driver_impl fixes for numerous clippy warnings 2025-09-19 20:56:07 +00:00
rustc_error_codes Changes to the uitests 2025-08-27 20:25:18 +02:00
rustc_error_messages Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_errors fix: Filter suggestion parts that match existing code 2025-09-04 17:42:13 -06:00
rustc_expand mbe: Fix feature gate for macro_derive 2025-09-19 23:17:12 +08:00
rustc_feature initial implementation of the darwin_objc unstable feature 2025-09-13 16:06:22 -07:00
rustc_fluent_macro Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_fs_util Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_graphviz Remove #![warn(unreachable_pub)] from all compiler/ crates. 2025-03-11 13:14:21 +11:00
rustc_hashes Revert "Use workspace lints for crates in compiler/ #138084" 2025-03-10 18:12:47 +08:00
rustc_hir port #[rustc_coherence_is_core] to the new attribute parsing infrastructure 2025-09-17 10:02:23 -07:00
rustc_hir_analysis Rollup merge of #146551 - folkertdev:cmse-entry-c-variadic, r=workingjubilee 2025-09-21 14:42:34 +10:00
rustc_hir_id rustc_hir_id: Add a comment explaining why the crate exists 2025-08-20 15:04:00 -07:00
rustc_hir_pretty Rollup merge of #146102 - fmease:rm-dead-eff-code-iii, r=fee1-dead 2025-09-02 17:08:58 +02:00
rustc_hir_typeck Rollup merge of #146770 - hkBst:clippy-fix-10, r=fmease 2025-09-20 17:55:04 +02:00
rustc_incremental Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_index Rollup merge of #144091 - thaliaarchi:stabilize-new-zeroed, r=Mark-Simulacrum 2025-09-21 14:42:33 +10:00
rustc_index_macros Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_infer Auto merge of #145993 - lcnr:allow-calling-opaques, r=BoxyUwU 2025-09-18 13:49:53 +00:00
rustc_interface fixes for numerous clippy warnings 2025-09-19 20:56:07 +00:00
rustc_lexer Rollup merge of #146106 - epage:whitespace, r=fee1-dead 2025-09-03 23:08:10 +10:00
rustc_lint Rollup merge of #146664 - fmease:clean-up-dyn, r=jdonszelmann 2025-09-18 11:48:51 +10:00
rustc_lint_defs Move more early buffered lints to dyn lint diagnostics (4/N) 2025-09-14 12:38:12 +02:00
rustc_llvm Auto merge of #146700 - Zalathar:quoted-args, r=nikic 2025-09-19 18:32:17 +00:00
rustc_log Update tracing, again 2025-09-08 09:23:37 -07:00
rustc_macros Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_metadata Don't store defaultness for inherent impl items 2025-09-12 15:14:15 -05:00
rustc_middle Rollup merge of #146597 - modhanami:add-struct-tail-recursion-limit-span, r=oli-obk 2025-09-18 17:20:57 +02:00
rustc_mir_build Remove Rvalue::Len. 2025-09-16 22:23:19 +00:00
rustc_mir_dataflow Rollup merge of #146664 - fmease:clean-up-dyn, r=jdonszelmann 2025-09-18 11:48:51 +10:00
rustc_mir_transform Auto merge of #146659 - cjgillot:impossible-taint, r=oli-obk 2025-09-21 16:28:12 +00:00
rustc_monomorphize Auto merge of #145717 - BoxyUwU:erase_regions_rename, r=lcnr 2025-09-09 15:04:44 +00:00
rustc_next_trait_solver canonical: yeet EvalCtxt, mk Canonicalizer private 2025-09-18 23:56:20 +02:00
rustc_parse Detect top-level ... in argument type 2025-09-16 11:38:08 -07:00
rustc_parse_format Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_passes Rollup merge of #146664 - fmease:clean-up-dyn, r=jdonszelmann 2025-09-18 11:48:51 +10:00
rustc_pattern_analysis Remove DynKind 2025-09-17 04:46:46 +02:00
rustc_privacy Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_proc_macro Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_public Rollup merge of #146664 - fmease:clean-up-dyn, r=jdonszelmann 2025-09-18 11:48:51 +10:00
rustc_public_bridge Remove useless lifetime parameter. 2025-07-23 23:54:37 +00:00
rustc_query_impl fixup limit handling code 2025-09-08 15:07:12 -07:00
rustc_query_system fixup limit handling code 2025-09-08 15:07:12 -07:00
rustc_resolve Move more early buffered lints to dyn lint diagnostics (3/N) 2025-09-14 12:38:12 +02:00
rustc_sanitizers Remove DynKind 2025-09-17 04:46:46 +02:00
rustc_serialize Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_session generate list of all variants with target_spec_enum 2025-09-19 22:14:50 +00:00
rustc_span Rollup merge of #146564 - cjgillot:mir-nolen, r=scottmcm 2025-09-17 14:56:48 +10:00
rustc_symbol_mangling Remove DynKind 2025-09-17 04:46:46 +02:00
rustc_target generate list of all variants with target_spec_enum 2025-09-19 22:14:50 +00:00
rustc_thread_pool Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_trait_selection move mod canonical out of eval_ctxt 2025-09-18 23:56:20 +02:00
rustc_traits erase_regions to erase_and_anonymize_regions 2025-09-09 14:49:16 +02:00
rustc_transmute Driveby fixes 2025-09-09 14:49:16 +02:00
rustc_ty_utils Rollup merge of #146597 - modhanami:add-struct-tail-recursion-limit-span, r=oli-obk 2025-09-18 17:20:57 +02:00
rustc_type_ir Auto merge of #145993 - lcnr:allow-calling-opaques, r=BoxyUwU 2025-09-18 13:49:53 +00:00
rustc_type_ir_macros Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_windows_rc Allow windows resource compiler to be overridden 2025-09-18 16:50:02 +00:00