We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f6ea77 commit 30cda58Copy full SHA for 30cda58
tests/source/macros.rs
@@ -466,3 +466,8 @@ static ROOTED_TRACEABLES: RefCell<RootedTraceableSet> =
466
RefCell::new(RootedTraceableSet::new(1234)) ;
467
468
] ;
469
+
470
+fn issue3004() {
471
+ foo!(|_| { ( ) });
472
+ stringify!(( foo+ ));
473
+}
tests/target/macros.rs
@@ -1043,3 +1043,8 @@ thread_local![
1043
static ROOTED_TRACEABLES: RefCell<RootedTraceableSet> =
1044
RefCell::new(RootedTraceableSet::new(1234));
1045
];
1046
1047
1048
+ foo!(|_| { () });
1049
+ stringify!((foo+));
1050
0 commit comments