about summary refs log tree commit diff
path: root/compiler/rustc_metadata
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2021-06-27 19:14:29 +0200
committerCamille GILLOT <gillot.camille@gmail.com>2021-07-17 19:41:09 +0200
commitdbd2d77641e87ac841d12db1ca8e1f38d96f85d3 (patch)
tree6fcbf9b468132e4b84af438177144811eebeccc9 /compiler/rustc_metadata
parent37a13def486e2133db264ec9b83735c4c4546e58 (diff)
downloadrust-dbd2d77641e87ac841d12db1ca8e1f38d96f85d3.tar.gz
rust-dbd2d77641e87ac841d12db1ca8e1f38d96f85d3.zip
Drop orig_id.
Diffstat (limited to 'compiler/rustc_metadata')
-rw-r--r--compiler/rustc_metadata/src/rmeta/decoder.rs2
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 388a8bd22fb..a3f8c7e771b 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(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