File tree Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Original file line number Diff line number Diff line change @@ -34,3 +34,24 @@ this should be skipped</div>
34
34
}
35
35
. to_string ( ) ;
36
36
}
37
+
38
+ fn visitor_made_from_same_context ( ) {
39
+ let pair = (
40
+ || {
41
+ foo ! ( <div>
42
+ this should be mangled</div>
43
+ ) ;
44
+ skip_macro_mod ! ( <div>
45
+ this should be skipped</div>
46
+ ) ;
47
+ } ,
48
+ || {
49
+ foo ! ( <div>
50
+ this should be mangled</div>
51
+ ) ;
52
+ skip_macro_mod ! ( <div>
53
+ this should be skipped</div>
54
+ ) ;
55
+ } ,
56
+ ) ;
57
+ }
Original file line number Diff line number Diff line change @@ -34,3 +34,24 @@ this should be skipped</div>
34
34
}
35
35
. to_string ( ) ;
36
36
}
37
+
38
+ fn visitor_made_from_same_context ( ) {
39
+ let pair = (
40
+ || {
41
+ foo ! ( <div>
42
+ this should be mangled</div>
43
+ ) ;
44
+ skip_macro_mod ! ( <div>
45
+ this should be skipped</div>
46
+ ) ;
47
+ } ,
48
+ || {
49
+ foo ! ( <div>
50
+ this should be mangled</div>
51
+ ) ;
52
+ skip_macro_mod ! ( <div>
53
+ this should be skipped</div>
54
+ ) ;
55
+ } ,
56
+ ) ;
57
+ }
You can’t perform that action at this time.
0 commit comments