This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit bafa6c4
committed
Auto merge of rust-lang#14935 - Veykril:sysroot-dedup, r=Veykril
fix: Don't duplicate sysroot crates in rustc workspace
Since we handle `library` as the sysroot source directly in the rustc workspace, we now duplicate the crates there, once as sysroot and once as just plain workspace crate. This causes a variety of issues for `vec!` macros and similar that emit `$crate` tokens across crates.File tree
4 files changed
+30
-12
lines changed- crates
- hir/src
- ide-diagnostics/src/handlers
- ide/src/inlay_hints
- project-model/src
4 files changed
+30
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2703 | 2703 | | |
2704 | 2704 | | |
2705 | 2705 | | |
2706 | | - | |
2707 | | - | |
| 2706 | + | |
| 2707 | + | |
2708 | 2708 | | |
2709 | 2709 | | |
2710 | 2710 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
900 | 900 | | |
901 | 901 | | |
902 | 902 | | |
903 | | - | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
904 | 921 | | |
905 | 922 | | |
906 | 923 | | |
| |||
909 | 926 | | |
910 | 927 | | |
911 | 928 | | |
912 | | - | |
913 | | - | |
| 929 | + | |
| 930 | + | |
914 | 931 | | |
915 | 932 | | |
916 | 933 | | |
917 | 934 | | |
918 | | - | |
919 | | - | |
| 935 | + | |
| 936 | + | |
920 | 937 | | |
921 | 938 | | |
922 | 939 | | |
923 | 940 | | |
924 | 941 | | |
925 | | - | |
| 942 | + | |
926 | 943 | | |
927 | 944 | | |
928 | | - | |
| 945 | + | |
929 | 946 | | |
930 | 947 | | |
931 | 948 | | |
| |||
0 commit comments