1
Fork 0

Fix transmute goal

This commit is contained in:
Michael Goulet 2024-09-27 14:24:31 -04:00
parent 38bbcc001e
commit 9453d2cfeb
9 changed files with 236 additions and 117 deletions

View file

@ -134,12 +134,7 @@ mod rustc {
use rustc_span::symbol::sym;
let Some((cv, ty)) = c.try_to_valtree() else {
return Some(Self {
alignment: true,
lifetimes: true,
safety: true,
validity: true,
});
return None;
};
let adt_def = ty.ty_adt_def()?;