This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit cbebdd8
authored
Rollup merge of rust-lang#89991 - petrochenkov:visitok2, r=jackh726
rustc_ast: Turn `MutVisitor::token_visiting_enabled` into a constant
It's a visitor property rather than something that needs to be determined at runtimeFile tree
3 files changed
+8
-13
lines changed- compiler
- rustc_ast/src
- rustc_expand/src
- mbe
- mut_visit
3 files changed
+8
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | | - | |
| 40 | + | |
43 | 41 | | |
44 | 42 | | |
45 | 43 | | |
| |||
363 | 361 | | |
364 | 362 | | |
365 | 363 | | |
366 | | - | |
| 364 | + | |
367 | 365 | | |
368 | 366 | | |
369 | 367 | | |
| |||
682 | 680 | | |
683 | 681 | | |
684 | 682 | | |
685 | | - | |
| 683 | + | |
686 | 684 | | |
687 | 685 | | |
688 | 686 | | |
| |||
692 | 690 | | |
693 | 691 | | |
694 | 692 | | |
695 | | - | |
| 693 | + | |
696 | 694 | | |
697 | 695 | | |
698 | 696 | | |
699 | 697 | | |
700 | 698 | | |
701 | 699 | | |
702 | | - | |
| 700 | + | |
703 | 701 | | |
704 | 702 | | |
705 | 703 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | | - | |
| 22 | + | |
25 | 23 | | |
26 | 24 | | |
27 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
| 18 | + | |
| 19 | + | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
| |||
0 commit comments