diff options
| author | Ralf Jung <post@ralfj.de> | 2022-07-05 17:38:46 -0400 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2022-07-09 07:27:29 -0400 |
| commit | f44d5feb5b7b98bed2806238cc9a6b3ce40aa831 (patch) | |
| tree | 050947ba48444613ba18d1fb6f0f1e7c4831a1b7 | |
| parent | e9442b60e0516d7edd66cddc47ac363aab0cd69b (diff) | |
| download | rust-f44d5feb5b7b98bed2806238cc9a6b3ce40aa831.tar.gz rust-f44d5feb5b7b98bed2806238cc9a6b3ce40aa831.zip | |
review feedback
| -rw-r--r-- | src/constant.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/constant.rs b/src/constant.rs index f90ad534970..0739061fdbd 100644 --- a/src/constant.rs +++ b/src/constant.rs @@ -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() { |
