OperandRef already had a Debug impl

Co-authored-by: Jubilee <46493976+workingjubilee@users.noreply.github.com>
This commit is contained in:
Mahmoud Mazouz 2024-08-05 10:30:27 +02:00 committed by GitHub
parent 41ec376edd
commit 9411844aff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -131,7 +131,7 @@ impl<V: CodegenObject> OperandValue<V> {
/// to avoid nasty edge cases. In particular, using `Builder::store` /// to avoid nasty edge cases. In particular, using `Builder::store`
/// directly is sure to cause problems -- use `OperandRef::store` /// directly is sure to cause problems -- use `OperandRef::store`
/// instead. /// instead.
#[derive(Copy, Clone, Debug)] #[derive(Copy, Clone)]
pub struct OperandRef<'tcx, V> { pub struct OperandRef<'tcx, V> {
/// The value. /// The value.
pub val: OperandValue<V>, pub val: OperandValue<V>,