Nicholas Nethercote
7a5d814a04
Remove #[macro_use] extern crate tracing
from rustc_const_eval
.
2024-05-23 18:02:38 +10:00
Ralf Jung
ad7045e160
still accept references to u8 slices and str in packed fields
2023-09-06 08:32:30 +02:00
Ralf Jung
8b3435c10f
fix detecting references to packed unsized fields
2023-09-05 22:29:51 +02:00
Ralf Jung
739144fc5b
MIR validation: reject in-place argument/return for packed fields
2023-08-24 11:38:19 +02:00
Ralf Jung
9097ce9054
fix is_disaligned logic for nested packed structs
2022-08-03 09:59:08 -04:00
Nicholas Nethercote
ca5525d564
Improve AdtDef
interning.
...
This commit makes `AdtDef` use `Interned`. Much the commit is tedious
changes to introduce getter functions. The interesting changes are in
`compiler/rustc_middle/src/ty/adt.rs`.
2022-03-11 13:31:24 +11:00
est31
5cc292eb1d
rustc_const_eval: adopt let else in more places
2022-02-19 01:55:47 +01:00
Camille GILLOT
c5fc2609f0
Rename rustc_mir to rustc_const_eval.
2021-09-07 20:46:26 +02:00