compiler: Fully stabilize result_ffi_guarantees
This commit is contained in:
parent
8069f8d17a
commit
fa18606b17
7 changed files with 33 additions and 424 deletions
|
@ -741,10 +741,6 @@ pub(crate) fn repr_nullable_ptr<'tcx>(
|
|||
[var_one, var_two] => match (&var_one.fields.raw[..], &var_two.fields.raw[..]) {
|
||||
([], [field]) | ([field], []) => field.ty(tcx, args),
|
||||
([field1], [field2]) => {
|
||||
if !tcx.features().result_ffi_guarantees {
|
||||
return None;
|
||||
}
|
||||
|
||||
let ty1 = field1.ty(tcx, args);
|
||||
let ty2 = field2.ty(tcx, args);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue