index
:
rust
this commit
auto
automation/bors/try
automation/bors/try-merge
beta
cargo_update
lcnr/rustc-dev-guide
master
perf-tmp
stable
try
try-perf
https://github.com/rust-lang/rust
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
compiler
/
rustc_const_eval
/
src
/
interpret
/
discriminant.rs
Age
Commit message (
Expand
)
Author
Lines
2025-06-27
Add InterpCx::layout_of with tracing, shadowing LayoutOf
Stypox
-1
/
+1
2025-06-05
Update `InterpCx::project_field` to take `FieldIdx`
Scott McMurray
-2
/
+2
2025-06-03
Change `tag_field` to `FieldIdx` in `Variants::Multiple`
Scott McMurray
-4
/
+4
2024-12-18
make no-variant types a dedicated Variants variant
Ralf Jung
-2
/
+6
2024-12-18
Variants::Single: do not use invalid VariantIdx for uninhabited enums
Ralf Jung
-14
/
+9
2024-12-01
fix safe-transmute handling of enums
Ralf Jung
-1
/
+1
2024-11-30
report UB when the niche value refers to the untagged variant
Ralf Jung
-19
/
+24
2024-11-03
compiler: Directly use rustc_abi in const_eval
Jubilee Young
-1
/
+1
2024-10-29
compiler: `rustc_abi::Abi` => `BackendRepr`
Jubilee Young
-1
/
+1
2024-10-28
compiler: Add `is_uninhabited` and use LayoutS accessors
Jubilee Young
-3
/
+3
2024-10-01
make InterpResult a dedicated type to avoid accidentally discarding the error
Ralf Jung
-9
/
+10
2024-09-22
Reformat using the new identifier sorting from rustfmt
Michael Goulet
-1
/
+1
2024-09-08
interpret: remove Readable trait, we can use Projectable instead
Ralf Jung
-2
/
+2
2024-07-29
Reformat `use` declarations.
Nicholas Nethercote
-4
/
+2
2024-07-02
chore: remove duplicate words
hattizai
-1
/
+1
2024-06-14
safe transmute: support non-ZST, variantful, uninhabited enums
Jack Wrenn
-1
/
+10
2024-06-13
safe transmute: support `Variants::Single` enums
Jack Wrenn
-4
/
+1
2024-06-10
ScalarInt: size mismatches are a bug, do not delay the panic
Ralf Jung
-8
/
+7
2024-06-01
Uplift TypeRelation and Relate
Michael Goulet
-1
/
+1
2024-05-27
interpret: get rid of 'mir lifetime everywhere
Ralf Jung
-1
/
+1
2024-05-23
Remove `#[macro_use] extern crate tracing` from `rustc_const_eval`.
Nicholas Nethercote
-0
/
+1
2024-05-21
interpret: make overflowing binops just normal binops
Ralf Jung
-6
/
+2
2024-05-13
Remove `extern crate rustc_middle` from `rustc_const_eval`.
Nicholas Nethercote
-1
/
+4
2024-04-19
ScalarInt: add methods to assert being a (u)int of given size
Ralf Jung
-2
/
+1
2024-03-23
tag_for_variant follow-ups
Ralf Jung
-3
/
+5
2024-03-22
Add `tag_for_variant` query
Jack Wrenn
-67
/
+89
2024-03-08
interpret: update comment about read_discriminant on uninhabited variants
Ralf Jung
-1
/
+7
2024-02-10
interpret/write_discriminant: when encoding niched variant, ensure the stored...
Ralf Jung
-0
/
+8
2023-12-28
Remove movability from TyKind::Coroutine
Michael Goulet
-1
/
+1
2023-11-14
Fix some typos
cui fliter
-2
/
+2
2023-10-25
Evaluate computed values to constants.
Camille GILLOT
-5
/
+6
2023-10-20
s/generator/coroutine/
Oli Scherer
-3
/
+3
2023-10-20
s/Generator/Coroutine/
Oli Scherer
-1
/
+1
2023-09-21
try to avoid some layout_of calls
Ralf Jung
-1
/
+1
2023-09-20
interpret: more consistently use ImmTy in operators and casts
Ralf Jung
-7
/
+6
2023-09-11
Return ImmTy in discriminant_for_variant.
Camille GILLOT
-3
/
+4
2023-07-25
interpret: make read functions generic over operand type
Ralf Jung
-18
/
+13
2023-07-25
interpret: make write functions generic over the place type
Ralf Jung
-6
/
+11
2023-07-25
interpret: read_discriminant: only return VariantIdx
Ralf Jung
-27
/
+39
2023-07-25
interpret: refactor projection code to work on a common trait, and use that f...
Ralf Jung
-6
/
+22
2023-07-21
Revert "Auto merge of #113166 - moulins:ref-niches-initial, r=oli-obk"
David Tolnay
-14
/
+10
2023-07-21
support non-null pointer niches in CTFE
Moulins
-10
/
+14
2023-07-14
refactor(rustc_middle): Substs -> GenericArg
Mahdi Dibaiee
-5
/
+3
2023-04-16
Various minor Idx-related tweaks
Scott McMurray
-8
/
+9
2023-02-06
interpret: move discriminant reading and writing to separate file
Ralf Jung
-0
/
+238