rust/compiler
Ralf Jung 3029e09e2f
Rollup merge of #131698 - the8472:remove-set-discriminant-hack, r=RalfJung
use stores of the correct size to set discriminants

Resolves an old HACK /FIXME.

Note that I haven't worked much with codegen so I'm not sure if I'm using the functions correctly and I was surprised seeing out-of-range values being fed into `const_uint_big` but apparently they're wrapped implicitly? By making it explicit we can pass in-range values instead.
2024-11-30 19:24:40 +01:00
..
rustc
rustc_abi
rustc_arena
rustc_ast always create DefIds when lowering anon-consts 2024-11-28 12:22:02 +00:00
rustc_ast_ir
rustc_ast_lowering Auto merge of #133468 - lcnr:uwu4, r=BoxyUwU 2024-11-28 15:58:17 +00:00
rustc_ast_passes Refactor where predicates, and reserve for attributes support 2024-11-25 16:38:35 +08:00
rustc_ast_pretty Rollup merge of #133140 - dtolnay:precedence, r=fmease 2024-11-26 12:03:41 -05:00
rustc_attr
rustc_baked_icu_data
rustc_borrowck uplift fold_regions to rustc_type_ir 2024-11-28 10:40:58 +01:00
rustc_builtin_macros update cfgs 2024-11-27 15:14:54 +00:00
rustc_codegen_cranelift Rollup merge of #133422 - taiki-e:riscv-e-clobber-abi, r=Amanieu 2024-11-28 12:06:01 +01:00
rustc_codegen_gcc Support predicate registers (clobber-only) in Hexagon inline assembly 2024-11-25 23:11:17 +09:00
rustc_codegen_llvm Revert "Rollup merge of #133418 - Zalathar:spans, r=jieyouxu" 2024-11-29 14:57:01 +11:00
rustc_codegen_ssa Rollup merge of #131698 - the8472:remove-set-discriminant-hack, r=RalfJung 2024-11-30 19:24:40 +01:00
rustc_const_eval Move always_storage_live_locals. 2024-11-26 12:05:57 +11:00
rustc_data_structures
rustc_driver
rustc_driver_impl Rollup merge of #133590 - nnethercote:rename-parse-only, r=estebank 2024-11-29 10:19:00 +01:00
rustc_error_codes
rustc_error_messages
rustc_errors
rustc_expand
rustc_feature Rollup merge of #116161 - Soveu:varargs2, r=cjgillot 2024-11-30 12:56:50 +08:00
rustc_fluent_macro
rustc_fs_util
rustc_graphviz
rustc_hir update comment 2024-11-28 12:22:02 +00:00
rustc_hir_analysis Rollup merge of #116161 - Soveu:varargs2, r=cjgillot 2024-11-30 12:56:50 +08:00
rustc_hir_pretty Rollup merge of #133140 - dtolnay:precedence, r=fmease 2024-11-26 12:03:41 -05:00
rustc_hir_typeck simplify how the hir_typeck_pass_to_variadic_function diagnostic is created 2024-11-29 20:49:06 +01:00
rustc_incremental
rustc_index Remove HybridBitSet. 2024-11-29 17:23:34 +11:00
rustc_index_macros
rustc_infer support revealing defined opaque post borrowck 2024-11-28 10:40:58 +01:00
rustc_interface Rollup merge of #133590 - nnethercote:rename-parse-only, r=estebank 2024-11-29 10:19:00 +01:00
rustc_lexer Clean up c_or_byte_string. 2024-11-25 16:10:55 +11:00
rustc_lint Rollup merge of #133487 - pitaj:reserve-guarded-strings, r=fee1-dead 2024-11-28 12:06:04 +01:00
rustc_lint_defs fix confusing diagnostic for reserved ## 2024-11-25 22:29:14 -07:00
rustc_llvm
rustc_log
rustc_macros
rustc_metadata Rollup merge of #132750 - daltenty:daltenty/libs, r=jieyouxu 2024-11-30 12:56:50 +08:00
rustc_middle Rollup merge of #133501 - lcnr:post-borrowck-analysis, r=compiler-errors 2024-11-29 10:18:57 +01:00
rustc_mir_build fix a comment with uneven number of backticks in rustc_mir_build 2024-11-28 21:54:27 +01:00
rustc_mir_dataflow Stop using HybridBitSet in dataflow diffs. 2024-11-29 17:23:34 +11:00
rustc_mir_transform Revert "Rollup merge of #133418 - Zalathar:spans, r=jieyouxu" 2024-11-29 14:57:01 +11:00
rustc_monomorphize Share inline(never) generics across crates 2024-11-28 13:43:05 -05:00
rustc_next_trait_solver support revealing defined opaque post borrowck 2024-11-28 10:40:58 +01:00
rustc_parse Rollup merge of #133623 - nnethercote:parse_expr_bottom-spans, r=compiler-errors 2024-11-30 12:56:54 +08:00
rustc_parse_format
rustc_passes Refactor where predicates, and reserve for attributes support 2024-11-25 16:38:35 +08:00
rustc_pattern_analysis no more Reveal :( 2024-11-23 13:52:54 +01:00
rustc_privacy
rustc_query_impl Rollup merge of #132410 - bjorn3:yet_another_driver_refactor_round, r=cjgillot 2024-11-27 22:23:24 +01:00
rustc_query_system
rustc_resolve always create DefIds when lowering anon-consts 2024-11-28 12:22:02 +00:00
rustc_sanitizers
rustc_serialize
rustc_session Update -Zshow-span help message. 2024-11-29 06:10:16 +11:00
rustc_smir Rollup merge of #132410 - bjorn3:yet_another_driver_refactor_round, r=cjgillot 2024-11-27 22:23:24 +01:00
rustc_span Rollup merge of #133463 - taiki-e:aarch64-asm-x18, r=Amanieu 2024-11-28 12:06:02 +01:00
rustc_symbol_mangling
rustc_target Rollup merge of #133599 - esp-rs:target/esp32s2-forced-atomics, r=Amanieu 2024-11-30 12:56:53 +08:00
rustc_trait_selection Rollup merge of #133585 - estebank:issue-133563, r=jieyouxu 2024-11-30 12:56:52 +08:00
rustc_traits
rustc_transmute
rustc_ty_utils support revealing defined opaque post borrowck 2024-11-28 10:40:58 +01:00
rustc_type_ir support revealing defined opaque post borrowck 2024-11-28 10:40:58 +01:00
rustc_type_ir_macros
stable_mir