Merge pull request #3260 from topecongiro/issue-3004
Do not modify original source code inside macro call
This commit is contained in:
commit
2c204c11d1
4 changed files with 19 additions and 2 deletions
|
|
@ -466,3 +466,8 @@ 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