about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/interpret/terminator.rs
diff options
context:
space:
mode:
authorMaybe Waffle <waffle.lapkin@gmail.com>2024-06-17 17:36:26 +0000
committerMaybe Lapkin <waffle.lapkin@gmail.com>2024-07-07 18:16:38 +0200
commitdd5a447b5abaabcefd1b8e6e03470aa345226e1e (patch)
tree9398feea8de77ad960e1f36b240faa002901932e /compiler/rustc_const_eval/src/interpret/terminator.rs
parent236352024b25c2e834c7a73fc9219ddc84c0bcf9 (diff)
downloadrust-dd5a447b5abaabcefd1b8e6e03470aa345226e1e.tar.gz
rust-dd5a447b5abaabcefd1b8e6e03470aa345226e1e.zip
Do renames proposed by review
Diffstat (limited to 'compiler/rustc_const_eval/src/interpret/terminator.rs')
-rw-r--r--compiler/rustc_const_eval/src/interpret/terminator.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_const_eval/src/interpret/terminator.rs b/compiler/rustc_const_eval/src/interpret/terminator.rs
index 8886d7d8af5..76051f4651f 100644
--- a/compiler/rustc_const_eval/src/interpret/terminator.rs
+++ b/compiler/rustc_const_eval/src/interpret/terminator.rs
@@ -27,7 +27,7 @@ use super::{
 };
 use crate::{
     fluent_generated as fluent,
-    interpret::{eval_context::StackPop, ReturnAction},
+    interpret::{eval_context::StackPopInfo, ReturnAction},
 };
 
 /// An argment passed to a function.
@@ -982,7 +982,7 @@ impl<'tcx, M: Machine<'tcx>> InterpCx<'tcx, M> {
         // only the tail called function should return to the current return block.
         M::before_stack_pop(self, self.frame())?;
 
-        let StackPop { return_action, return_to_block, return_place } =
+        let StackPopInfo { return_action, return_to_block, return_place } =
             self.pop_stack_frame(false)?;
 
         assert_eq!(return_action, ReturnAction::Normal);