Fix small typo
This commit is contained in:
parent
08273780d8
commit
9984c5bbc1
@ -143,7 +143,7 @@ impl<'a, 'tcx> InlineAsmCtxt<'a, 'tcx> {
|
|||||||
};
|
};
|
||||||
assert!(
|
assert!(
|
||||||
ty.is_manually_drop(),
|
ty.is_manually_drop(),
|
||||||
"expected first field of `MaybeUnit` to be `ManuallyDrop`"
|
"expected first field of `MaybeUninit` to be `ManuallyDrop`"
|
||||||
);
|
);
|
||||||
let fields = &ty.non_enum_variant().fields;
|
let fields = &ty.non_enum_variant().fields;
|
||||||
let ty = fields[FieldIdx::ZERO].ty(self.tcx, args);
|
let ty = fields[FieldIdx::ZERO].ty(self.tcx, args);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user