diff options
| author | RayMuir <rachelmuir0313@gmail.com> | 2024-03-15 14:21:29 +0000 |
|---|---|---|
| committer | Scott McMurray <scottmcm@users.noreply.github.com> | 2024-08-18 14:05:47 -0700 |
| commit | 32185decd6875d5a86374043c7cfa77682b98ba3 (patch) | |
| tree | eb93ae11e2a2089e184fa9e081140aa38dc98e82 | |
| parent | 6de928dce9472b864f4e5d590dd7aa2075cb7551 (diff) | |
| download | rust-32185decd6875d5a86374043c7cfa77682b98ba3.tar.gz rust-32185decd6875d5a86374043c7cfa77682b98ba3.zip | |
Added "copy" to Debug fmt for copy operands
| -rw-r--r-- | compiler/rustc_middle/src/mir/pretty.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/mir/pretty.rs b/compiler/rustc_middle/src/mir/pretty.rs index 5dd0e69cf1f..76a25e45cde 100644 --- a/compiler/rustc_middle/src/mir/pretty.rs +++ b/compiler/rustc_middle/src/mir/pretty.rs @@ -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:?}"), } } |
