Added "copy" to Debug fmt for copy operands

This commit is contained in:
RayMuir 2024-03-15 14:21:29 +00:00 committed by Scott McMurray
parent 6de928dce9
commit 32185decd6

View File

@ -1159,7 +1159,7 @@ fn fmt(&self, fmt: &mut Formatter<'_>) -> fmt::Result {
use self::Operand::*;
match *self {
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:?}"),
}
}