about summary refs log tree commit diff
path: root/compiler
diff options
context:
space:
mode:
authorMahmoud Mazouz <mazouz.mahmoud@outlook.com>2024-08-05 10:30:27 +0200
committerGitHub <noreply@github.com>2024-08-05 10:30:27 +0200
commit9411844aff6a3a62c1de71874bf20bf6290d009f (patch)
tree7119951e0f3a8a938eadedbd5158224b8207f3ad /compiler
parent41ec376edde29fb4df2b1d6fd89ceab93a248ab2 (diff)
downloadrust-9411844aff6a3a62c1de71874bf20bf6290d009f.tar.gz
rust-9411844aff6a3a62c1de71874bf20bf6290d009f.zip
`OperandRef` already had a `Debug` impl
Co-authored-by: Jubilee <46493976+workingjubilee@users.noreply.github.com>
Diffstat (limited to 'compiler')
-rw-r--r--compiler/rustc_codegen_ssa/src/mir/operand.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/mir/operand.rs b/compiler/rustc_codegen_ssa/src/mir/operand.rs
index cceb99b605e..2bc2d0f70bf 100644
--- a/compiler/rustc_codegen_ssa/src/mir/operand.rs
+++ b/compiler/rustc_codegen_ssa/src/mir/operand.rs
@@ -131,7 +131,7 @@ impl<V: CodegenObject> OperandValue<V> {
 /// to avoid nasty edge cases. In particular, using `Builder::store`
 /// directly is sure to cause problems -- use `OperandRef::store`
 /// instead.
-#[derive(Copy, Clone, Debug)]
+#[derive(Copy, Clone)]
 pub struct OperandRef<'tcx, V> {
     /// The value.
     pub val: OperandValue<V>,