Commit 19d1002
committed
Fix failures to resolve primitives
Previously, when looking for the associated items for primitives,
rustdoc would look for primitives in the current namespace.
But all primitives are in the type namespace. To fix this, rustdoc now
always looks for primitives in the namespace when considering them as a
stepping stone to the associated item.
However, fixing that bug caused several duplicate errors because rustdoc
now reports the same error in each namespace. To avoid this, rustdoc now
ignores all duplicate errors when issuing them.1 parent e2d69f2 commit 19d1002
1 file changed
+15
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
334 | | - | |
| 334 | + | |
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
| |||
355 | 355 | | |
356 | 356 | | |
357 | 357 | | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
358 | 364 | | |
359 | 365 | | |
360 | 366 | | |
| |||
1404 | 1410 | | |
1405 | 1411 | | |
1406 | 1412 | | |
1407 | | - | |
1408 | 1413 | | |
1409 | 1414 | | |
1410 | 1415 | | |
| |||
1419 | 1424 | | |
1420 | 1425 | | |
1421 | 1426 | | |
| 1427 | + | |
| 1428 | + | |
1422 | 1429 | | |
| 1430 | + | |
| 1431 | + | |
| 1432 | + | |
| 1433 | + | |
| 1434 | + | |
1423 | 1435 | | |
1424 | | - | |
1425 | 1436 | | |
1426 | | - | |
| 1437 | + | |
1427 | 1438 | | |
1428 | 1439 | | |
1429 | | - | |
1430 | 1440 | | |
1431 | 1441 | | |
1432 | 1442 | | |
| |||
0 commit comments