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 @@ pub(crate) fn is_expected_variant_for_type<'tcx, Cx: LayoutTypeMethods<'tcx>>(
/// 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>,