Commit 57e88ab
committed
rustdoc(hack): make is_doc_subtype_of always ret true for TyAlias
it's worth noting that this function is only used in
the handling of "Methods from Deref", and we were previously
assuming all generic parameters were meaningless,
so this is still an improvment from the status quo.
this change means that we will have strictly less false positives
without adding any new false negitives.1 parent abf3832 commit 57e88ab
1 file changed
+18
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1533 | 1533 | | |
1534 | 1534 | | |
1535 | 1535 | | |
| 1536 | + | |
| 1537 | + | |
| 1538 | + | |
| 1539 | + | |
| 1540 | + | |
| 1541 | + | |
| 1542 | + | |
| 1543 | + | |
1536 | 1544 | | |
1537 | 1545 | | |
1538 | 1546 | | |
| |||
1561 | 1569 | | |
1562 | 1570 | | |
1563 | 1571 | | |
| 1572 | + | |
| 1573 | + | |
| 1574 | + | |
| 1575 | + | |
| 1576 | + | |
| 1577 | + | |
| 1578 | + | |
| 1579 | + | |
| 1580 | + | |
| 1581 | + | |
1564 | 1582 | | |
1565 | 1583 | | |
1566 | 1584 | | |
| |||
0 commit comments