mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
Added "copy" to Debug fmt for copy operands
This commit is contained in:
parent
6de928dce9
commit
32185decd6
@ -1159,7 +1159,7 @@ impl<'tcx> Debug for Operand<'tcx> {
|
||||
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:?}"),
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user