Skip to content

Commit 941e194

Browse files
committed
Correct documentation for ShallowInitBox
1 parent 7417110 commit 941e194

File tree

1 file changed

+0
-2
lines changed
  • compiler/rustc_middle/src/mir

1 file changed

+0
-2
lines changed

compiler/rustc_middle/src/mir/mod.rs

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

0 commit comments

Comments
 (0)