Added "copy" to Debug fmt for copy operands
This commit is contained in:
parent
6de928dce9
commit
32185decd6
1 changed files with 1 additions and 1 deletions
|
@ -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:?}"),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue