Fix small typo

This commit is contained in:
Janggun Lee 2024-04-11 15:38:24 +09:00 committed by GitHub
parent 08273780d8
commit 9984c5bbc1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -143,7 +143,7 @@ fn check_asm_operand_type(
};
assert!(
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 ty = fields[FieldIdx::ZERO].ty(self.tcx, args);