//@ check-pass //@ run-rustfix #![warn(unused_braces)] macro_rules! make_1 { () => { 1 } } struct A; fn main() { let _: A<7>; // ok let _: A<7>; //~ WARN unnecessary braces let _: A<{ 3 + 5 }>; // ok let _: A<{make_1!()}>; // ok }