derive PartialEq on Expression (#2417)

This commit is contained in:
robtfm
2023-08-02 13:01:04 +01:00
committed by GitHub
parent 46951a09c0
commit d0d3a2e714

View File

@@ -1263,8 +1263,7 @@ bitflags::bitflags! {
/// An expression that can be evaluated to obtain a value.
///
/// This is a Single Static Assignment (SSA) scheme similar to SPIR-V.
#[derive(Clone, Debug)]
#[cfg_attr(test, derive(PartialEq))]
#[derive(Clone, Debug, PartialEq)]
#[cfg_attr(feature = "serialize", derive(Serialize))]
#[cfg_attr(feature = "deserialize", derive(Deserialize))]
#[cfg_attr(feature = "arbitrary", derive(Arbitrary))]