1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
use super :: *; mod mod1 { #[ derive( Debug, Clone, Copy, PartialEq ) ] pub struct Struct1; impl Struct1 { #[ inline( always ) ] pub fn new() -> Self { Self } } } // include!( "./only_test/unit.rs" );