1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
use core ::ops ::Not; #[ allow( dead_code ) ] struct StructTupleEmpty(); impl Not for StructTupleEmpty { type Output = Self; fn not( self ) -> Self ::Output { Self() } } // include!( "./only_test/struct_tuple_empty.rs" );