Skip to content

Commit c0f9cad

Browse files
committed
former : debug off
1 parent 176a2c5 commit c0f9cad

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

module/core/former/tests/inc/enum_unit_tests/generic_unit_variant_derive.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use former::Former;
66

77
/// Generic enum with a unit variant, using Former.
88
#[derive(Debug, PartialEq, Former)]
9-
#[former(standalone_constructors, debug)]
9+
#[former(standalone_constructors)]
1010
pub enum GenericOption<T: core::fmt::Debug + PartialEq + Clone> // Minimal bounds for T
1111
{
1212
#[scalar] // Treat Value(T) as a scalar constructor for the enum

module/core/former/tests/inc/enum_unit_tests/keyword_variant_derive.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use former::Former; // Ensure derive is in scope
22
use super::*; // Needed for the include
33

44
#[derive(Debug, PartialEq, Former)]
5-
#[former(standalone_constructors, debug)]
5+
#[former(standalone_constructors)]
66
#[allow(non_camel_case_types)] // Explicitly allowing for testing keyword-like names
77
pub enum KeywordTest {
88
r#fn,

module/core/former/tests/inc/enum_unit_tests/mixed_enum_unit_derive.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use super::*;
55

66
/// Enum with a unit variant and a struct-like variant, using Former.
77
#[derive(Debug, PartialEq, former::Former)]
8-
#[former(standalone_constructors, debug)] // Attribute present, added debug
8+
#[former(standalone_constructors)] // Attribute present, added debug
99
pub enum MixedEnum
1010
{
1111
SimpleUnit,

module/core/former/tests/inc/enum_unnamed_tests/tuple_zero_fields_derive.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ pub struct InnerForSubform
2727

2828
// The enum under test for zero-field tuple variants with #[derive(Former)]
2929
#[ derive( Debug, PartialEq, Former ) ]
30-
#[former(standalone_constructors, debug)] // Added standalone_constructors and debug
30+
#[former(standalone_constructors)] // debug attribute commented out // Added standalone_constructors and debug
3131
// #[ derive( Default ) ] // Do not derive Default here, it caused issues before.
3232
pub enum EnumWithZeroFieldTuple
3333
{

0 commit comments

Comments
 (0)