about summary refs log tree commit diff
path: root/src/test/rustdoc/intra-links.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-08-29 08:42:20 +0000
committerbors <bors@rust-lang.org>2018-08-29 08:42:20 +0000
commitca0de63898b525656ad8447cd81ccb08a05e3d6c (patch)
tree42c7f189214a54b9f35f3c0647ab87674b277cc5 /src/test/rustdoc/intra-links.rs
parentf4e981cfe474f598b34ca07df8c8f16f042e120f (diff)
parent025d01432fbdbefe24f7d3b4b487d040732f67fa (diff)
downloadrust-ca0de63898b525656ad8447cd81ccb08a05e3d6c.tar.gz
rust-ca0de63898b525656ad8447cd81ccb08a05e3d6c.zip
Auto merge of #53711 - arielb1:macro-table, r=michaelwoerister
create a valid DefIdTable for proc macro crates

At least the incremental compilation code, and a few other places in the
compiler, require the CrateMetadata for a loaded target crate to contain a
valid DefIdTable for the DefIds in the target.

Previously, the CrateMetadata for a proc macro contained the crate's
"host" DefIdTable, which is of course incompatible with the "target"
DefIdTable, causing ICEs. This creates a DefIdTable that properly refers
to the "proc macro" DefIds.

Fixes #49482.

r? @michaelwoerister

Should we beta-nominate this?
Diffstat (limited to 'src/test/rustdoc/intra-links.rs')
0 files changed, 0 insertions, 0 deletions