Skip to content

Commit 9984c5b

Browse files
authored
Fix small typo
1 parent 0827378 commit 9984c5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)