Commit a71dbcd
authored
Rollup merge of rust-lang#143177 - xizheyin:143134, r=lcnr
Remove false label when `self` resolve failure does not relate to macro
Fixes rust-lang#143134
In the first commit, I did some code-clean, moving `suggest*` to `suggestions/` dir.
In the second, commit, I added ui test.
In the third, I change the code, and present the test result.
r? compilerFile tree
16 files changed
+31
-6
lines changed- compiler/rustc_resolve/src/late
- tests/ui
- error-codes
- resolve
- suggestions
- auxiliary
16 files changed
+31
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1183 | 1183 | | |
1184 | 1184 | | |
1185 | 1185 | | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
1186 | 1193 | | |
1187 | 1194 | | |
1188 | 1195 | | |
1189 | | - | |
| 1196 | + | |
1190 | 1197 | | |
1191 | 1198 | | |
1192 | | - | |
| 1199 | + | |
| 1200 | + | |
1193 | 1201 | | |
1194 | | - | |
| 1202 | + | |
1195 | 1203 | | |
1196 | 1204 | | |
1197 | 1205 | | |
| |||
1204 | 1212 | | |
1205 | 1213 | | |
1206 | 1214 | | |
1207 | | - | |
| 1215 | + | |
1208 | 1216 | | |
1209 | 1217 | | |
1210 | 1218 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | 43 | | |
46 | 44 | | |
47 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
File renamed without changes.
File renamed without changes.
0 commit comments