Fix transmute goal
This commit is contained in:
parent
38bbcc001e
commit
9453d2cfeb
9 changed files with 236 additions and 117 deletions
|
@ -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()?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue