#[ allow( unused_imports ) ] use super::*; // // #[ test_tools::nightly ] // #[ cfg( feature = "nightly" ) ] #[ cfg( RUSTC_IS_NIGHTLY ) ] tests_impls! { fn inspect_to_str_type_of_test() { let exp = "sizeof( &[1, 2, 3][..] : &[i32] ) = 16".to_string(); let got = the_module::inspect_to_str_type_of!( &[ 1, 2, 3 ][ .. ] ); a_id!( got, exp ); let exp = "sizeof( &[1, 2, 3] : &[i32; 3] ) = 8".to_string(); let got = the_module::inspect_to_str_type_of!( &[ 1, 2, 3 ] ); a_id!( got, exp ); } // fn inspect_type_of_macro() { let exp = "sizeof( &[1, 2, 3][..] : &[i32] ) = 16".to_string(); let got = the_module::inspect_type_of!( &[ 1, 2, 3 ][ .. ] ); a_id!( got, exp ); let exp = "sizeof( &[1, 2, 3] : &[i32; 3] ) = 8".to_string(); let got = the_module::inspect_type_of!( &[ 1, 2, 3 ] ); a_id!( got, exp ); } } // // #[ test_tools::nightly ] // #[ cfg( feature = "nightly" ) ] #[ cfg( RUSTC_IS_NIGHTLY ) ] tests_index! { inspect_to_str_type_of_test, inspect_type_of_macro, }