about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2022-07-06 10:14:46 -0400
committerRalf Jung <post@ralfj.de>2022-07-09 07:43:56 -0400
commit4e7aaf1f448dd9808a94e98dffe4c1176c388e0d (patch)
tree17d0725f18b8bf3770795c189322577992c80f24 /compiler/rustc_codegen_ssa/src
parentac265cdc19fe99b5909410893dd1583d6cb895fe (diff)
downloadrust-4e7aaf1f448dd9808a94e98dffe4c1176c388e0d.tar.gz
rust-4e7aaf1f448dd9808a94e98dffe4c1176c388e0d.zip
tweak names and output and bless
Diffstat (limited to 'compiler/rustc_codegen_ssa/src')
-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 af15ae36fa9..c612634fce2 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::ZeroSized => {
                 let llval = bx.zst_to_backend(bx.immediate_backend_type(layout));
                 OperandValue::Immediate(llval)
             }