1
Fork 0

Drop ExpnData::krate.

This commit is contained in:
Camille GILLOT 2021-06-27 20:06:26 +02:00
parent dbd2d77641
commit 41c1f39fa8
2 changed files with 11 additions and 20 deletions

View file

@ -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