refactor(const_eval): derive PartialEq for testing in component-wise enums

This commit is contained in:
Erich Gubler committed 2024-07-24 09:12:23 -04:00
1 parent 380387e8e2
commit 3650f90079
1 file changed
+1
+1
View File
@@ -28,6 +28,7 @@ macro_rules! gen_component_wise_extractor {
) => {
/// A subset of [`Literal`]s intended to be used for implementing numeric built-ins.
#[derive(Debug)]
#[cfg_attr(test, derive(PartialEq))]
enum $target<const N: usize> {
$(
#[doc = concat!(