diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2021-06-27 20:06:26 +0200 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2021-07-17 19:41:10 +0200 |
| commit | 41c1f39fa8317fc16779ceda7536fe93f1c89c34 (patch) | |
| tree | 1d401468acc049864bd3cc7b879076f1fbf9a175 /compiler/rustc_metadata/src | |
| parent | dbd2d77641e87ac841d12db1ca8e1f38d96f85d3 (diff) | |
| download | rust-41c1f39fa8317fc16779ceda7536fe93f1c89c34.tar.gz rust-41c1f39fa8317fc16779ceda7536fe93f1c89c34.zip | |
Drop ExpnData::krate.
Diffstat (limited to 'compiler/rustc_metadata/src')
| -rw-r--r-- | compiler/rustc_metadata/src/rmeta/decoder.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_metadata/src/rmeta/decoder.rs b/compiler/rustc_metadata/src/rmeta/decoder.rs index a3f8c7e771b..8bdd4313de4 100644 --- a/compiler/rustc_metadata/src/rmeta/decoder.rs +++ b/compiler/rustc_metadata/src/rmeta/decoder.rs @@ -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 |
