Correct documentation for ShallowInitBox

This commit is contained in:
Jakob Degen 2022-04-25 14:24:14 -04:00
parent 7417110cef
commit 941e19468a

View File

@ -2581,8 +2581,6 @@ pub enum Rvalue<'tcx> {
/// This is different from a normal transmute because dataflow analysis will treat the box as
/// initialized but its content as uninitialized. Like other pointer casts, this in general
/// affects alias analysis.
///
/// Disallowed after drop elaboration.
ShallowInitBox(Operand<'tcx>, Ty<'tcx>),
}