macro_rules! y { () => { N }; } struct A; fn foo() -> A<{ y!() }> { A::<1> //~^ ERROR: mismatched types } fn main() {}