about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/interpret/terminator.rs
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-03-15 08:09:31 +0100
committerRalf Jung <post@ralfj.de>2024-03-15 08:09:31 +0100
commit0d811d7f3aceb2c23536851c7f5ed8abdc077a67 (patch)
tree8019eff9ff3c848b3217f27c2ca11451db7bda80 /compiler/rustc_const_eval/src/interpret/terminator.rs
parent3cc4059a6e8a6aebcd020b0d3a0e2eb33d926c2c (diff)
parentee03c286cfdca26fa5b2a4ee40957625d2c826ff (diff)
Merge from rustc
Diffstat (limited to 'compiler/rustc_const_eval/src/interpret/terminator.rs')
-rw-r--r--compiler/rustc_const_eval/src/interpret/terminator.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_const_eval/src/interpret/terminator.rs b/compiler/rustc_const_eval/src/interpret/terminator.rs
index bafb8cb0018..82fb7ff1840 100644
--- a/compiler/rustc_const_eval/src/interpret/terminator.rs
+++ b/compiler/rustc_const_eval/src/interpret/terminator.rs
@@ -631,7 +631,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
                         body.args_iter()
                             .map(|local| (
                                 local,
-                                self.layout_of_local(self.frame(), local, None).unwrap().ty
+                                self.layout_of_local(self.frame(), local, None).unwrap().ty,
                             ))
                             .collect::<Vec<_>>()
                     );