This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit 9f3e2d4
authored
Unrolled build for rust-lang#136736
Rollup merge of rust-lang#136736 - llogiq:small-resolve-refactor, r=jieyouxu
Small resolve refactor
I was looking into how resolve works in order to find a good way for clippy to shorten paths in messages and suggestions, and found a needless `.collect()` and a recursive function that could be written as a loop, also removed a panicky code path.2 files changed
+17
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1500 | 1500 | | |
1501 | 1501 | | |
1502 | 1502 | | |
1503 | | - | |
| 1503 | + | |
1504 | 1504 | | |
1505 | 1505 | | |
1506 | 1506 | | |
1507 | 1507 | | |
1508 | 1508 | | |
1509 | 1509 | | |
1510 | 1510 | | |
1511 | | - | |
| 1511 | + | |
1512 | 1512 | | |
1513 | 1513 | | |
1514 | 1514 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
361 | | - | |
| 361 | + | |
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
| |||
2241 | 2241 | | |
2242 | 2242 | | |
2243 | 2243 | | |
2244 | | - | |
| 2244 | + | |
2245 | 2245 | | |
2246 | | - | |
| 2246 | + | |
2247 | 2247 | | |
2248 | 2248 | | |
2249 | 2249 | | |
2250 | | - | |
| 2250 | + | |
2251 | 2251 | | |
2252 | 2252 | | |
2253 | 2253 | | |
| |||
2256 | 2256 | | |
2257 | 2257 | | |
2258 | 2258 | | |
2259 | | - | |
| 2259 | + | |
2260 | 2260 | | |
2261 | 2261 | | |
2262 | 2262 | | |
2263 | | - | |
| 2263 | + | |
2264 | 2264 | | |
2265 | | - | |
2266 | | - | |
| 2265 | + | |
2267 | 2266 | | |
2268 | 2267 | | |
2269 | 2268 | | |
2270 | | - | |
| 2269 | + | |
| 2270 | + | |
| 2271 | + | |
2271 | 2272 | | |
2272 | 2273 | | |
2273 | 2274 | | |
2274 | | - | |
| 2275 | + | |
| 2276 | + | |
| 2277 | + | |
| 2278 | + | |
2275 | 2279 | | |
2276 | 2280 | | |
2277 | | - | |
2278 | | - | |
2279 | 2281 | | |
2280 | 2282 | | |
2281 | 2283 | | |
2282 | | - | |
2283 | | - | |
| 2284 | + | |
2284 | 2285 | | |
2285 | 2286 | | |
2286 | 2287 | | |
| |||
0 commit comments