rust/compiler
bors 283a0746a2 Auto merge of #143860 - scottmcm:transmute-always-rvalue, r=WaffleLapkin
Let `codegen_transmute_operand` just handle everything

When combined with rust-lang/rust#143720, this means `rvalue_creates_operand` can just return `true` for *every* `Rvalue`.  (A future PR could consider removing it, though just letting it optimize out is fine for now.)

It's nicer anyway, IMHO, because it avoids needing the layout checks to be consistent in the two places, and thus is an overall reduction in code.  Plus it's a more helpful building block when used in other places this way.

(TBH, it probably would have been better to have it this way the whole time, but I clearly didn't understand `rvalue_creates_operand` when I originally wrote rust-lang/rust#109843.)
2025-07-26 22:45:18 +00:00
..
rustc rename stable_mir to rustc_public, and rustc_smir to rustc_public_bridge 2025-07-14 09:25:54 +00:00
rustc_abi Rollup merge of #144390 - oli-obk:arbitrary-enum-discrs, r=SparrowLii 2025-07-25 11:16:39 +02:00
rustc_arena Introduce Arena::try_alloc_from_iter. 2025-04-19 01:13:18 +00:00
rustc_ast Don't lint against named labels in naked_asm! 2025-07-26 00:42:21 +01:00
rustc_ast_ir Use -Wunused_crate_dependencies for compiler crates. 2025-03-20 08:59:43 +11:00
rustc_ast_lowering Rollup merge of #143430 - cjgillot:extra-lifetime-swap, r=oli-obk 2025-07-22 00:54:25 +08:00
rustc_ast_passes AST lowering: More robustly deal with relaxed bounds 2025-07-18 03:13:21 +02:00
rustc_ast_pretty parse const trait Trait 2025-07-17 18:06:26 +08:00
rustc_attr_data_structures Ports #[macro_use] and #[macro_escape] to the new attribute parsing infrastructure 2025-07-23 13:33:23 +02:00
rustc_attr_parsing Rollup merge of #144358 - JonathanBrouwer:fix-stability-malformed, r=oli-obk 2025-07-24 15:08:28 +02:00
rustc_baked_icu_data Add unreachable_pub to RUSTC_LINT_FLAGS for compiler/ crates. 2025-03-11 13:14:21 +11:00
rustc_borrowck Mention type that could be Clone but isn't in more cases 2025-07-25 18:34:10 +00:00
rustc_builtin_macros Rollup merge of #143925 - oli-obk:slice-const-partialeq, r=fee1-dead 2025-07-18 14:49:19 +02:00
rustc_codegen_cranelift Remove useless lifetime parameter. 2025-07-23 23:54:37 +00:00
rustc_codegen_gcc Auto merge of #144062 - bjorn3:lto_refactors2, r=davidtwco 2025-07-24 12:50:26 +00:00
rustc_codegen_llvm Disable has_reliable_f128_math on musl targets 2025-07-26 07:01:55 +02:00
rustc_codegen_ssa Auto merge of #143860 - scottmcm:transmute-always-rvalue, r=WaffleLapkin 2025-07-26 22:45:18 +00:00
rustc_const_eval Remove const deduplication from the interpreter. 2025-07-23 23:54:37 +00:00
rustc_data_structures Allow pretty printing paths with -Zself-profile-events=args 2025-07-25 22:24:21 +02:00
rustc_driver Remove recursion_limit increases. 2025-04-02 16:25:27 +11:00
rustc_driver_impl Rollup merge of #143719 - xizheyin:142812-1, r=jieyouxu 2025-07-18 04:27:51 +02:00
rustc_error_codes Update uitest stderrs 2025-07-23 13:33:23 +02:00
rustc_error_messages Remove unused feature gates 2025-06-28 23:36:46 +00:00
rustc_errors Use LocalKey<Cell> methods more 2025-07-24 13:21:25 -05:00
rustc_expand mbe: Use concrete type for get_unused_rule 2025-07-22 00:36:10 -07:00
rustc_feature Mitigate #[align] name resolution ambiguity regression with a rename 2025-07-19 01:42:30 +08:00
rustc_fluent_macro Remove all unused feature gates from the compiler 2025-06-08 14:50:42 +00:00
rustc_fs_util Retry if creating temp fails with access denied 2025-04-25 11:28:36 +00: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 Ports #[macro_use] and #[macro_escape] to the new attribute parsing infrastructure 2025-07-23 13:33:23 +02:00
rustc_hir_analysis Rollup merge of #144390 - oli-obk:arbitrary-enum-discrs, r=SparrowLii 2025-07-25 11:16:39 +02:00
rustc_hir_pretty parse const trait Trait 2025-07-17 18:06:26 +08:00
rustc_hir_typeck Rollup merge of #144376 - estebank:issue-143795, r=lcnr 2025-07-26 15:27:59 +02:00
rustc_incremental Auto merge of #139758 - Zoxc:thread-local-graph, r=oli-obk 2025-05-07 12:39:54 +00:00
rustc_index use div_ceil instead of manual logic 2025-07-05 10:55:42 +02:00
rustc_index_macros In rustc_mir_tranform, iterate over index newtypes instead of ints 2025-04-12 11:53:07 +00:00
rustc_infer Add alias for ArgOutlivesPredicate 2025-07-15 16:02:26 +00:00
rustc_interface Rollup merge of #142097 - ZuseZ4:offload-host1, r=oli-obk 2025-07-22 00:54:24 +08:00
rustc_lexer test(lexer): Add frontmatter unit test 2025-07-10 10:25:29 -05:00
rustc_lint Rollup merge of #144331 - jplatte:matches-allow-non_exhaustive_omitted_patterns, r=Nadrieril 2025-07-26 15:27:58 +02:00
rustc_lint_defs Rollup merge of #144014 - dianne:edition-guide-links, r=estebank 2025-07-24 15:08:21 +02:00
rustc_llvm RustWrapper: Suppress getNextNonDebugInfoInstruction 2025-07-23 22:09:16 +08:00
rustc_log Add documentation for init_logger_with_additional_layer 2025-06-12 12:11:15 +02:00
rustc_macros Implement AST visitors using a derive macro. 2025-07-22 01:52:34 +00:00
rustc_metadata Limit defaultness to impl of trait 2025-07-25 08:49:31 -05:00
rustc_middle Rollup merge of #144412 - camsteffen:localkey-cell-refactors, r=petrochenkov 2025-07-26 02:19:30 -05:00
rustc_mir_build Rollup merge of #143585 - folkertdev:loop-match-suggest-const-block, r=oli-obk 2025-07-26 02:19:28 -05:00
rustc_mir_dataflow Remove support for SwitchInt edge effects in backward dataflow analyses 2025-07-11 10:56:50 +02:00
rustc_mir_transform Remove useless lifetime parameter. 2025-07-23 23:54:37 +00:00
rustc_monomorphize Rollup merge of #144094 - saethlin:codegen-the-main-fn, r=petrochenkov 2025-07-24 15:08:21 +02:00
rustc_next_trait_solver Auto merge of #143500 - compiler-errors:characterize-less, r=lcnr 2025-07-26 16:57:45 +00:00
rustc_parse Call is_parsed_attribute rather than keeping track of a list of parsed attributes manually 2025-07-24 22:53:09 +02:00
rustc_parse_format update to literal-escaper-0.0.5 2025-07-08 10:16:44 +00:00
rustc_passes Rollup merge of #143374 - cjgillot:bare-extern-crate-map, r=petrochenkov 2025-07-24 15:08:19 +02:00
rustc_pattern_analysis Rollup merge of #144171 - Nadrieril:exhaustive-witnesses, r=davidtwco 2025-07-26 01:15:04 -05:00
rustc_privacy Rollup merge of #144276 - cjgillot:no-hir-privacy, r=petrochenkov 2025-07-24 15:08:25 +02:00
rustc_proc_macro update to literal-escaper-0.0.5 2025-07-08 10:16:44 +00:00
rustc_public remove movability from RigidTy::Coroutine and AggregateKind::Coroutine 2025-07-24 18:26:08 +08:00
rustc_public_bridge Remove useless lifetime parameter. 2025-07-23 23:54:37 +00:00
rustc_query_impl Remove unused allow attrs 2025-07-07 12:58:16 +00:00
rustc_query_system Use LocalKey<Cell> methods more 2025-07-24 13:21:25 -05:00
rustc_resolve resolve: Do not create NameResolutions on access unless necessary 2025-07-26 00:25:26 +03:00
rustc_sanitizers Remove support for dyn* 2025-07-01 19:00:21 +00:00
rustc_serialize use div_ceil instead of manual logic 2025-07-05 10:55:42 +02:00
rustc_session Allow pretty printing paths with -Zself-profile-events=args 2025-07-25 22:24:21 +02:00
rustc_span Rollup merge of #144212 - bjorn3:remove_unique_lang_item, r=oli-obk 2025-07-22 00:54:30 +08:00
rustc_symbol_mangling use codegen_instance_attrs where an instance is (easily) available 2025-07-16 23:24:32 +02:00
rustc_target Rollup merge of #144218 - Noratrieb:target-spec-json-de-jank, r=fee1-dead 2025-07-24 15:08:22 +02:00
rustc_thread_pool Correct comments. 2025-06-28 17:58:21 +08:00
rustc_trait_selection Consider param-env for fast path 2025-07-20 17:45:01 +00:00
rustc_traits Consider param-env for fast path 2025-07-20 17:45:01 +00:00
rustc_transmute compiler: Parse p- specs in datalayout string, allow definition of custom default data address space 2025-07-07 09:04:53 +02:00
rustc_ty_utils Rollup merge of #144448 - camsteffen:defaultness-impl-trait-only, r=compiler-errors 2025-07-26 15:28:02 +02:00
rustc_type_ir Auto merge of #143545 - compiler-errors:coroutine-obl, r=oli-obk 2025-07-18 02:23:50 +00:00
rustc_type_ir_macros Split TypeFolder and FallibleTypeFolder 2025-04-15 18:30:35 +00:00