#![allow(clippy::used_underscore_binding, clippy::all, warnings, missing_docs)]
use super::*;
use test_tools::exposed::*;
use super::*;
#[cfg(any(feature = "use_alloc", not(feature = "no_std")))]
mod a_basic;
#[cfg(any(feature = "use_alloc", not(feature = "no_std")))]
mod a_basic_manual;
mod a_primitives;
mod a_primitives_manual;
mod tuple_struct;
mod debug_e0223_minimal;
mod debug_e0223_manual;
#[cfg(any(not(feature = "no_std"), feature = "use_alloc"))]
mod subform_collection_basic;
#[cfg(any(feature = "use_alloc", not(feature = "no_std")))]
mod subform_collection_basic_manual;
#[cfg(any(feature = "use_alloc", not(feature = "no_std")))]
mod subform_collection_basic_scalar;
mod attribute_alias;
#[cfg(any(not(feature = "no_std"), feature = "use_alloc"))]
mod attribute_default_collection;
mod attribute_default_conflict;
#[cfg(any(not(feature = "no_std"), feature = "use_alloc"))]
mod attribute_default_primitive;
mod attribute_feature;
#[cfg(any(not(feature = "no_std"), feature = "use_alloc"))]
mod attribute_multiple;
mod attribute_perform;
mod attribute_setter;
mod attribute_storage_with_end;
mod attribute_storage_with_mutator;
mod keyword_field_derive;
#[cfg(any(not(feature = "no_std"), feature = "use_alloc"))]
mod keyword_subform_derive;
mod name_collision_former_hashmap_without_parameter;
mod name_collision_former_vector_without_parameter;
mod name_collisions;
mod parametrized_replacement_derive; mod test_lifetime_only;
mod test_lifetime_minimal;
mod minimal_lifetime;
mod debug_lifetime_minimal;
mod debug_simple_lifetime;
mod parametrized_field_where_replacement_derive; #[cfg(any(not(feature = "no_std"), feature = "use_alloc"))]
mod parametrized_struct_imm; #[cfg(any(not(feature = "no_std"), feature = "use_alloc"))]
mod parametrized_struct_manual;
#[cfg(any(not(feature = "no_std"), feature = "use_alloc"))]
mod parametrized_struct_where_replacement_derive; #[cfg(any(not(feature = "no_std"), feature = "use_alloc"))]
mod parametrized_struct_replacement_derive;
mod parametrized_slice;
mod parametrized_slice_manual;
mod default_user_type;
mod unsigned_primitive_types;
mod user_type_no_debug;
mod user_type_no_default;
mod visibility;
#[cfg(any(not(feature = "no_std"), feature = "use_alloc"))]
mod collection_former_binary_heap;
#[cfg(any(not(feature = "no_std"), feature = "use_alloc"))]
mod collection_former_btree_map;
#[cfg(any(not(feature = "no_std"), feature = "use_alloc"))]
mod collection_former_btree_set;
#[cfg(any(not(feature = "no_std"), feature = "use_alloc"))]
mod collection_former_common;
#[cfg(any(not(feature = "no_std"), feature = "use_alloc"))]
mod collection_former_hashmap;
#[cfg(any(not(feature = "no_std"), feature = "use_alloc"))]
mod collection_former_hashset;
#[cfg(any(not(feature = "no_std"), feature = "use_alloc"))]
mod collection_former_linked_list;
#[cfg(any(not(feature = "no_std"), feature = "use_alloc"))]
mod collection_former_vec;
#[cfg(any(not(feature = "no_std"), feature = "use_alloc"))]
mod collection_former_vec_deque;
#[cfg(any(not(feature = "no_std"), feature = "use_alloc"))]
mod subform_collection;
#[cfg(any(not(feature = "no_std"), feature = "use_alloc"))]
mod subform_collection_custom;
#[cfg(any(not(feature = "no_std"), feature = "use_alloc"))]
mod subform_collection_implicit;
#[cfg(any(not(feature = "no_std"), feature = "use_alloc"))]
mod subform_collection_manual;
#[cfg(any(not(feature = "no_std"), feature = "use_alloc"))]
mod subform_collection_named;
mod subform_collection_replacement_derive; #[cfg(any(not(feature = "no_std"), feature = "use_alloc"))]
mod subform_collection_setter_off;
#[cfg(any(not(feature = "no_std"), feature = "use_alloc"))]
mod subform_scalar;
#[cfg(any(not(feature = "no_std"), feature = "use_alloc"))]
mod subform_scalar_manual;
#[cfg(any(not(feature = "no_std"), feature = "use_alloc"))]
mod subform_scalar_name;
#[cfg(any(not(feature = "no_std"), feature = "use_alloc"))]
mod subform_entry;
#[cfg(any(not(feature = "no_std"), feature = "use_alloc"))]
#[cfg(any(not(feature = "no_std"), feature = "use_alloc"))]
mod subform_entry_manual_replacement_derive;
#[cfg(any(not(feature = "no_std"), feature = "use_alloc"))]
mod subform_entry_named;
#[cfg(any(not(feature = "no_std"), feature = "use_alloc"))]
mod subform_entry_named_manual;
#[cfg(any(not(feature = "no_std"), feature = "use_alloc"))]
mod subform_entry_setter_off;
#[cfg(any(not(feature = "no_std"), feature = "use_alloc"))]
mod subform_entry_setter_on;
#[cfg(any(not(feature = "no_std"), feature = "use_alloc"))]
mod subform_entry_hashmap;
#[cfg(any(not(feature = "no_std"), feature = "use_alloc"))]
mod subform_entry_hashmap_custom;
#[cfg(any(not(feature = "no_std"), feature = "use_alloc"))]
mod subform_all;
#[cfg(any(not(feature = "no_std"), feature = "use_alloc"))]
mod subform_all_replacement_derive;
#[cfg(any(not(feature = "no_std"), feature = "use_alloc"))]
mod subform_all_private;
mod standalone_constructor_derive;
mod standalone_constructor_manual; mod former_ignore_test;
mod simple_former_ignore_test;
mod standalone_constructor_new_test;
mod basic_former_ignore_test;
mod standalone_constructor_former_ignore_test;
only_for_terminal_module! {
#[ cfg( feature = "derive_former" ) ]
#[ test_tools::nightly ]
#[ test ]
fn former_trybuild()
{
println!( "current_dir : {:?}", std::env::current_dir().unwrap() );
let t = test_tools::compiletime::TestCases::new();
t.compile_fail( "tests/inc/struct_tests/compiletime/field_attr_bad.rs" );
t.compile_fail( "tests/inc/struct_tests/compiletime/struct_attr_bad.rs" );
t.pass( "tests/inc/struct_tests/compiletime/hashmap_without_parameter.rs" );
t.pass( "tests/inc/struct_tests/compiletime/vector_without_parameter.rs" );
}
}