// { dg-additional-options "-w" } struct Foo(T); impl Foo { fn new(a: T, b: Y) -> Self { Self(a) } } pub fn test() { let a = Foo::::new::(123, 456f32); }