about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2022-07-05 17:38:46 -0400
committerRalf Jung <post@ralfj.de>2022-07-09 07:27:29 -0400
commitac265cdc19fe99b5909410893dd1583d6cb895fe (patch)
treee3808875f4616db2cd84b500083f3a279cb10a43 /compiler/rustc_codegen_ssa
parent052651dd134c6016108c5fc50bfe4196012a6a8f (diff)
downloadrust-ac265cdc19fe99b5909410893dd1583d6cb895fe.tar.gz
rust-ac265cdc19fe99b5909410893dd1583d6cb895fe.zip
review feedback
Diffstat (limited to 'compiler/rustc_codegen_ssa')
-rw-r--r--compiler/rustc_codegen_ssa/src/mir/operand.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/mir/operand.rs b/compiler/rustc_codegen_ssa/src/mir/operand.rs
index 72d0d3e5482..af15ae36fa9 100644
--- a/compiler/rustc_codegen_ssa/src/mir/operand.rs
+++ b/compiler/rustc_codegen_ssa/src/mir/operand.rs
@@ -84,7 +84,7 @@ impl<'a, 'tcx, V: CodegenObject> OperandRef<'tcx, V> {
                 let llval = bx.scalar_to_backend(x, scalar, bx.immediate_backend_type(layout));
                 OperandValue::Immediate(llval)
             }
-            ConstValue::ZST => {
+            ConstValue::Zst => {
                 let llval = bx.zst_to_backend(bx.immediate_backend_type(layout));
                 OperandValue::Immediate(llval)
             }