Added "copy" to Debug fmt for copy operands
This commit is contained in:
@@ -1159,7 +1159,7 @@ impl<'tcx> Debug for Operand<'tcx> {
|
|||||||
use self::Operand::*;
|
use self::Operand::*;
|
||||||
match *self {
|
match *self {
|
||||||
Constant(ref a) => write!(fmt, "{a:?}"),
|
Constant(ref a) => write!(fmt, "{a:?}"),
|
||||||
Copy(ref place) => write!(fmt, "{place:?}"),
|
Copy(ref place) => write!(fmt, "copy {place:?}"),
|
||||||
Move(ref place) => write!(fmt, "move {place:?}"),
|
Move(ref place) => write!(fmt, "move {place:?}"),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user