]> git.lizzy.rs Git - rust.git/commitdiff
review feedback
authorRalf Jung <post@ralfj.de>
Tue, 5 Jul 2022 21:38:46 +0000 (17:38 -0400)
committerRalf Jung <post@ralfj.de>
Sat, 9 Jul 2022 11:27:29 +0000 (07:27 -0400)
src/constant.rs

index f90ad5349702d6b48a1f94e40d6379aed6bae715..0739061fdbd7cbdcea075134e193bbaf2aa4fb42 100644 (file)
@@ -167,7 +167,7 @@ pub(crate) fn codegen_const_value<'tcx>(
     }
 
     match const_val {
-        ConstValue::ZST => unreachable!(), // we already handles ZST above
+        ConstValue::Zst => unreachable!(), // we already handles ZST above
         ConstValue::Scalar(x) => match x {
             Scalar::Int(int) => {
                 if fx.clif_type(layout.ty).is_some() {