Drop ExpnData::krate.
This commit is contained in:
parent
dbd2d77641
commit
41c1f39fa8
2 changed files with 11 additions and 20 deletions
|
@ -1653,7 +1653,7 @@ impl<'a, 'tcx> CrateMetadataRef<'a> {
|
|||
};
|
||||
|
||||
let data = self.root.expn_data.get(self, index).unwrap().decode(self);
|
||||
rustc_span::hygiene::register_expn_id(index, data, hash)
|
||||
rustc_span::hygiene::register_expn_id(self.cnum, index, data, hash)
|
||||
}
|
||||
|
||||
/// Imports the source_map from an external crate into the source_map of the crate
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue