Commit 7b9b5cc
committed
Prevent procedural macro hygiene issue with eager macros
This PR adds a change which links together identifiers in `quote!`
expansion. While in normal context, there's no issues with expansion of
procedural macro `#[func]` attribute, Rust macro hygiene rules start to
apply within the context of `eager2` crate.1 parent 309881c commit 7b9b5cc
1 file changed
+10
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
389 | | - | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
390 | 392 | | |
391 | 393 | | |
392 | 394 | | |
| |||
409 | 411 | | |
410 | 412 | | |
411 | 413 | | |
412 | | - | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
413 | 417 | | |
414 | 418 | | |
415 | 419 | | |
| |||
423 | 427 | | |
424 | 428 | | |
425 | 429 | | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
426 | 433 | | |
427 | | - | |
| 434 | + | |
428 | 435 | | |
429 | 436 | | |
430 | 437 | | |
| |||
0 commit comments