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_mir_build
/
src
/
thir
/
constant.rs
Age
Commit message (
Expand
)
Author
Lines
2025-07-07
compiler: Parse `p-` specs in datalayout string, allow definition of custom d...
Edoardo Marangoni
-1
/
+1
2025-06-30
Introduce `ByteSymbol`.
Nicholas Nethercote
-15
/
+11
2025-04-22
make `[u8]` and `[u8;N]` literal patterns usable in deref patterns
dianne
-2
/
+6
2025-04-22
make `str` literal patterns usable in deref patterns
dianne
-0
/
+6
2025-02-13
intern valtrees
Lukas Markeffsky
-6
/
+6
2025-01-30
Avoid calling the layout_of query in lit_to_const
Oli Scherer
-13
/
+15
2025-01-30
Don't allow negative unsigned literals
Oli Scherer
-1
/
+5
2025-01-09
Remove the now-useless `Result` from `lit_to_const`
Oli Scherer
-9
/
+9
2025-01-09
Always take the `Ok` path in `lit_to_const` and produce error constants instead
Oli Scherer
-1
/
+1
2025-01-09
Use error constant instead of explicit error handling
Oli Scherer
-3
/
+3
2024-12-17
Rename `rustc_mir_build::build` to `builder`
Zalathar
-1
/
+1
2024-12-06
Silence follow-up errors from `lit_to_const`
Oli Scherer
-1
/
+5
2024-11-18
use `TypingEnv` when no `infcx` is available
lcnr
-3
/
+2
2024-08-25
Avoid taking reference of &TyKind
Michael Goulet
-1
/
+1
2024-06-14
Use is_lang_item more aggressively
Michael Goulet
-1
/
+2
2024-06-10
ScalarInt: size mismatches are a bug, do not delay the panic
Ralf Jung
-5
/
+3
2024-05-23
Remove `#[macro_use] extern crate tracing` from `rustc_mir_build`.
Nicholas Nethercote
-0
/
+1
2024-05-13
Remove `extern crate rustc_middle` from `rustc_mir_build`.
Nicholas Nethercote
-0
/
+1
2024-02-21
Convert `bug`s back to `delayed_bug`s.
Nicholas Nethercote
-5
/
+5
2024-02-21
Convert `delayed_bug`s to `bug`s.
Nicholas Nethercote
-18
/
+11
2024-02-15
Add `ErrorGuaranteed` to `ast::LitKind::Err`, `token::LitKind::Err`.
Nicholas Nethercote
-5
/
+1
2024-01-19
Pack the u128 in LitKind::Int
Josh Stone
-1
/
+1
2024-01-10
Add `DiagCtxt::delayed_bug`.
Nicholas Nethercote
-19
/
+19
2023-12-24
Remove `Session` methods that duplicate `DiagCtxt` methods.
Nicholas Nethercote
-3
/
+3
2023-12-02
Rename `HandlerInner::delay_span_bug` as `HandlerInner::span_delayed_bug`.
Nicholas Nethercote
-3
/
+3
2023-07-04
Replace `mk_const` with `Const::new_x` methods
Boxy
-1
/
+1
2023-05-31
Remove `lit_to_mir_constant` query
Oli Scherer
-0
/
+5
2023-05-30
Get `lit_to_const` in sync with `const_to_valtree_inner`
Oli Scherer
-0
/
+13
2022-12-02
Add `StrStyle` to `ast::LitKind::ByteStr`.
Nicholas Nethercote
-2
/
+2
2022-11-28
Remove `Const::from_value`
Maybe Waffle
-1
/
+1
2022-11-10
Use const_error_with_guaranteed more
Michael Goulet
-2
/
+15
2022-08-23
Remove the symbol from `ast::LitKind::Err`.
Nicholas Nethercote
-1
/
+1
2022-06-14
address review
b-naber
-71
/
+1
2022-06-14
implement valtrees as the type-system representation for constant values
b-naber
-33
/
+42
2022-05-20
Remove `crate` visibility usage in compiler
Jacob Pratt
-1
/
+1
2022-03-23
change thir to lazily create constants
b-naber
-1
/
+7
2022-02-19
Adopt let else in more places
est31
-8
/
+2
2022-02-15
Overhaul `Const`.
Nicholas Nethercote
-1
/
+1
2021-12-19
Fix an ICE when lowering a float with missing exponent magnitude
threadexception
-9
/
+13
2021-07-17
Auto merge of #87123 - RalfJung:miri-provenance-overhaul, r=oli-obk
bors
-1
/
+1
2021-07-17
Changed dec2flt to use the Eisel-Lemire algorithm.
Alex Huszagh
-7
/
+9
2021-07-14
consistently treat None-tagged pointers as ints; get rid of some deprecated S...
Ralf Jung
-1
/
+1
2021-05-23
support creating mutable allocations from byte slices
Ralf Jung
-2
/
+2
2021-03-11
Reintroduce accidentally deleted assertions.
Oli Scherer
-2
/
+23
2021-01-18
Use ty::{IntTy,UintTy,FloatTy} in rustc
LeSeulArtichaut
-4
/
+4
2020-11-04
`u128` truncation and sign extension are not just interpreter related
oli
-2
/
+2
2020-10-04
Remove extra indirection in LitKind::ByteStr
Robin Schoonover
-1
/
+1
2020-09-04
Change ty.kind to a method
LeSeulArtichaut
-5
/
+7
2020-08-30
mv compiler to compiler/
mark
-0
/
+84