Skip to content

Commit 8c13ff7

Browse files
authored
Rollup merge of #123774 - Lee-Janggun:master, r=lqd
Fix typo MaybeUnit -> MaybeUninit
2 parents c71a50d + 9984c5b commit 8c13ff7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: compiler/rustc_hir_analysis/src/check/intrinsicck.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ impl<'a, 'tcx> InlineAsmCtxt<'a, 'tcx> {
143143
};
144144
assert!(
145145
ty.is_manually_drop(),
146-
"expected first field of `MaybeUnit` to be `ManuallyDrop`"
146+
"expected first field of `MaybeUninit` to be `ManuallyDrop`"
147147
);
148148
let fields = &ty.non_enum_variant().fields;
149149
let ty = fields[FieldIdx::ZERO].ty(self.tcx, args);

0 commit comments

Comments
 (0)