Add a test for #3004
This commit is contained in:
parent
3f6ea7788b
commit
30cda580bd
2 changed files with 10 additions and 0 deletions
|
|
@ -466,3 +466,8 @@ static ROOTED_TRACEABLES: RefCell<RootedTraceableSet> =
|
|||
RefCell::new(RootedTraceableSet::new(1234)) ;
|
||||
|
||||
] ;
|
||||
|
||||
fn issue3004() {
|
||||
foo!(|_| { ( ) });
|
||||
stringify!(( foo+ ));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1043,3 +1043,8 @@ thread_local![
|
|||
static ROOTED_TRACEABLES: RefCell<RootedTraceableSet> =
|
||||
RefCell::new(RootedTraceableSet::new(1234));
|
||||
];
|
||||
|
||||
fn issue3004() {
|
||||
foo!(|_| { () });
|
||||
stringify!((foo+));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue