@@ -187,7 +187,7 @@ pub mod node_death {
187187 core:: mem:: forget ( bad_publishers) ;
188188 core:: mem:: forget ( bad_subscribers) ;
189189
190- assert_that ! ( Node :: <S :: Service >:: cleanup_dead_nodes( & config) , eq CleanupState { cleanups: NUMBER_OF_BAD_NODES , failed_cleanups: 0 } ) ;
190+ assert_that ! ( Node :: <S :: Service >:: cleanup_dead_nodes( & config) , eq CleanupState { cleanups: NUMBER_OF_BAD_NODES as _ , failed_cleanups: 0 } ) ;
191191
192192 for service in & services {
193193 assert_that ! ( service. dynamic_config( ) . number_of_publishers( ) , eq NUMBER_OF_PUBLISHERS - NUMBER_OF_BAD_NODES ) ;
@@ -269,7 +269,7 @@ pub mod node_death {
269269 core:: mem:: forget ( bad_notifiers) ;
270270 core:: mem:: forget ( bad_listeners) ;
271271
272- assert_that ! ( Node :: <S :: Service >:: cleanup_dead_nodes( & config) , eq CleanupState { cleanups: NUMBER_OF_BAD_NODES , failed_cleanups: 0 } ) ;
272+ assert_that ! ( Node :: <S :: Service >:: cleanup_dead_nodes( & config) , eq CleanupState { cleanups: NUMBER_OF_BAD_NODES as _ , failed_cleanups: 0 } ) ;
273273
274274 for service in & services {
275275 assert_that ! ( service. dynamic_config( ) . number_of_notifiers( ) , eq NUMBER_OF_NOTIFIERS - NUMBER_OF_BAD_NODES ) ;
@@ -394,7 +394,7 @@ pub mod node_death {
394394 core:: mem:: forget ( bad_clients) ;
395395 core:: mem:: forget ( bad_servers) ;
396396
397- assert_that ! ( Node :: <S :: Service >:: cleanup_dead_nodes( & config) , eq CleanupState { cleanups: NUMBER_OF_BAD_NODES , failed_cleanups: 0 } ) ;
397+ assert_that ! ( Node :: <S :: Service >:: cleanup_dead_nodes( & config) , eq CleanupState { cleanups: NUMBER_OF_BAD_NODES as _ , failed_cleanups: 0 } ) ;
398398
399399 for service in & services {
400400 assert_that ! ( service. dynamic_config( ) . number_of_clients( ) , eq NUMBER_OF_CLIENTS - NUMBER_OF_BAD_NODES ) ;
@@ -475,7 +475,7 @@ pub mod node_death {
475475
476476 core:: mem:: forget ( bad_readers) ;
477477
478- assert_that ! ( Node :: <S :: Service >:: cleanup_dead_nodes( & config) , eq CleanupState { cleanups: NUMBER_OF_BAD_NODES , failed_cleanups: 0 } ) ;
478+ assert_that ! ( Node :: <S :: Service >:: cleanup_dead_nodes( & config) , eq CleanupState { cleanups: NUMBER_OF_BAD_NODES as _ , failed_cleanups: 0 } ) ;
479479
480480 for service in & services {
481481 assert_that ! ( service. dynamic_config( ) . number_of_readers( ) , eq NUMBER_OF_READERS - NUMBER_OF_BAD_NODES ) ;
0 commit comments