This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit a410af9
authored
Rollup merge of rust-lang#79810 - Aaron1011:fix/def-path-table-gap, r=lcnr
Account for gaps in def path table during decoding
When encoding a proc-macro crate, there may be gaps in the table (since
we only encode the crate root and proc-macro items). Account for this by
checking if the entry is present, rather than using `unwrap()`1 file changed
+8
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1553 | 1553 | | |
1554 | 1554 | | |
1555 | 1555 | | |
| 1556 | + | |
| 1557 | + | |
1556 | 1558 | | |
1557 | 1559 | | |
1558 | 1560 | | |
| |||
1561 | 1563 | | |
1562 | 1564 | | |
1563 | 1565 | | |
1564 | | - | |
1565 | | - | |
1566 | | - | |
| 1566 | + | |
| 1567 | + | |
| 1568 | + | |
| 1569 | + | |
| 1570 | + | |
| 1571 | + | |
1567 | 1572 | | |
1568 | 1573 | | |
1569 | 1574 | | |
| |||
0 commit comments