// this test check the error message when mandatory parameter is lost. use duang::duang; duang!( pub fn foo(a: T,b: f64 = 13.0, c: T = a*a) -> (T,f64,T) where T: std::ops::Mul, T: std::fmt::Display, T: Copy, { (a,b,c) } ); fn main() { foo!(b=0.1); }