mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-05 03:36:21 +00:00

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()`