use core::fmt::Debug; use core::ops::Deref; use derive_tools::DerefMut; #[ allow( dead_code ) ] #[ derive( DerefMut ) ] struct BoundsInlined< T : ToString, U : Debug >( T, U ); impl< T : ToString, U : Debug > Deref for BoundsInlined< T, U > { type Target = T; fn deref( &self ) -> &Self::Target { &self.0 } } include!( "./only_test/bounds_inlined.rs" );