summary refs log tree commit diff
path: root/compiler/rustc_query_system
diff options
context:
space:
mode:
authorBen Kimock <kimockb@gmail.com>2023-10-27 21:26:43 -0400
committerBen Kimock <kimockb@gmail.com>2023-11-22 22:49:22 -0500
commitfbaa24ee35dffb044e4895ad68f01c3f06046275 (patch)
tree8e56d12161916599c3df82921c0fee356c12cac0 /compiler/rustc_query_system
parentc387f012b14a3d64e0d580b7ebe65e5325bcf822 (diff)
downloadrust-fbaa24ee35dffb044e4895ad68f01c3f06046275.tar.gz
rust-fbaa24ee35dffb044e4895ad68f01c3f06046275.zip
Call FileEncoder::finish in rmeta encoding
Diffstat (limited to 'compiler/rustc_query_system')
-rw-r--r--compiler/rustc_query_system/src/dep_graph/graph.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_query_system/src/dep_graph/graph.rs b/compiler/rustc_query_system/src/dep_graph/graph.rs
index d720744a7a7..5acd012ef04 100644
--- a/compiler/rustc_query_system/src/dep_graph/graph.rs
+++ b/compiler/rustc_query_system/src/dep_graph/graph.rs
@@ -982,7 +982,7 @@ impl<D: Deps> DepGraph<D> {
         }
     }
 
-    pub fn encode(&self, profiler: &SelfProfilerRef) -> FileEncodeResult {
+    pub fn finish_encoding(&self, profiler: &SelfProfilerRef) -> FileEncodeResult {
         if let Some(data) = &self.data {
             data.current.encoder.steal().finish(profiler)
         } else {