1
Fork 0

Drop orig_id.

This commit is contained in:
Camille GILLOT 2021-06-27 19:14:29 +02:00
parent 37a13def48
commit dbd2d77641
2 changed files with 10 additions and 34 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(data, hash)
rustc_span::hygiene::register_expn_id(index, data, hash)
}
/// Imports the source_map from an external crate into the source_map of the crate