pub struct Example; pub struct Example2(T); pub struct Example3(T); pub struct Example4; fn main() { let e: Example<13> = (); //~^ Error: mismatched types //~| expected struct `Example` let e: Example2 = (); //~^ Error: mismatched types //~| expected struct `Example2` let e: Example3<13, u32> = (); //~^ Error: mismatched types //~| expected struct `Example3` let e: Example3<7> = (); //~^ Error: mismatched types //~| expected struct `Example3<7>` let e: Example4<7> = (); //~^ Error: mismatched types //~| expected struct `Example4<7>` }