former 2.45.0

A flexible implementation of the Builder pattern supporting nested builders and collection-specific subformers. Simplify the construction of complex objects.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#![allow(clippy::used_underscore_binding, clippy::all, warnings, missing_docs)]
// REVERTED: unit_subform_scalar_error (intentional compile_fail test - should remain disabled)

#[ cfg( feature = "derive_former" ) ]
#[test_tools::nightly]
#[ test ]
fn subform_scalar_on_unit_compile_fail() // Renamed for clarity
{
  let t = test_tools::compiletime::TestCases::new();
  t.compile_fail("tests/inc/enum_unit_tests/compile_fail/subform_scalar_on_unit.rs");
}

// To keep other potential trybuild tests separate, you might add more functions
// or integrate into a single one if preferred by project structure.
// For now, focusing on the current increment's test.