about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/interpret/stack.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-09-15 11:55:47 +0200
committerGitHub <noreply@github.com>2024-09-15 11:55:47 +0200
commit9ed667f8ed95d3d5a302f52f80795b7cacaf66a2 (patch)
treeb51604ffb14ca07bed7f3f8c3ad35599fe0aa5d2 /compiler/rustc_const_eval/src/interpret/stack.rs
parent3225bd5f96beb557beaa23e40ebe158ea4d93da8 (diff)
parent2ac554b73a21c4af8949eac9910f98c74c92cbd5 (diff)
downloadrust-9ed667f8ed95d3d5a302f52f80795b7cacaf66a2.tar.gz
rust-9ed667f8ed95d3d5a302f52f80795b7cacaf66a2.zip
Rollup merge of #130371 - saethlin:transmutability-enum-ice, r=compiler-errors
Correctly account for niche-optimized tags in rustc_transmute

This is a bit hacky, but it fixes the ICE and makes it possible to run the safe transmute check on every `mem::transmute` check we instantiate. I want to write a lint that needs to do that, but this stands well on its own.

cc `@jswrenn` here's the fix I alluded to yesterday :)

Fixes #123693
Diffstat (limited to 'compiler/rustc_const_eval/src/interpret/stack.rs')
0 files changed, 0 insertions, 0 deletions