Skip to content

Commit

Permalink
Unrolled build for rust-lang#123774
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#123774 - Lee-Janggun:master, r=lqd

Fix typo MaybeUnit -> MaybeUninit
  • Loading branch information
rust-timer authored Apr 11, 2024
2 parents 72fe8a0 + 9984c5b commit 79dbf31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_hir_analysis/src/check/intrinsicck.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ impl<'a, 'tcx> InlineAsmCtxt<'a, 'tcx> {
};
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);
Expand Down

0 comments on commit 79dbf31

Please sign in to comment.