We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0522b3b commit 84a16f0Copy full SHA for 84a16f0
1 file changed
compiler/rustc_public/src/mir/body.rs
@@ -590,6 +590,11 @@ pub enum Rvalue {
590
/// Yields the operand unchanged
591
Use(Operand),
592
593
+ /// Creates a bitwise copy of the source type, producing either a value of the same type (when
594
+ /// Mutability::Mut) or a different type with a guaranteed equal memory layout defined by the
595
+ /// CoerceShared trait. See [`Rvalue::Reborrow`] for a more detailed explanation.
596
+ ///
597
+ /// [`Rvalue::Reborrow`]: rustc_middle::mir::Rvalue::Reborrow
598
Reborrow(Mutability, Place),
599
}
600
0 commit comments