rust/compiler/rustc_const_eval
Matthias Krüger bb77336c0a
Rollup merge of #99972 - RalfJung:1zst, r=lcnr
interpret: only consider 1-ZST when searching for receiver

`repr(transparent)` currently entirely rejects ZST with alignment larger than 1 (which is odd, arguably [this](https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=02870f29396fa948c3123cb53d869ad1) should be accepted), so this should be safe. And if it ever isn't safe then that is very likely a bug elsewhere in the compiler.
2022-08-17 12:32:48 +02:00
..
src Rollup merge of #99972 - RalfJung:1zst, r=lcnr 2022-08-17 12:32:48 +02:00
Cargo.toml Initial fixes on top of type interner commit 2022-05-28 11:38:22 -07:00