diff options
| author | Ralf Jung <post@ralfj.de> | 2022-07-06 10:14:46 -0400 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2022-07-09 07:43:56 -0400 |
| commit | 4e7aaf1f448dd9808a94e98dffe4c1176c388e0d (patch) | |
| tree | 17d0725f18b8bf3770795c189322577992c80f24 /compiler/rustc_codegen_cranelift | |
| parent | ac265cdc19fe99b5909410893dd1583d6cb895fe (diff) | |
| download | rust-4e7aaf1f448dd9808a94e98dffe4c1176c388e0d.tar.gz rust-4e7aaf1f448dd9808a94e98dffe4c1176c388e0d.zip | |
tweak names and output and bless
Diffstat (limited to 'compiler/rustc_codegen_cranelift')
| -rw-r--r-- | compiler/rustc_codegen_cranelift/src/constant.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_cranelift/src/constant.rs b/compiler/rustc_codegen_cranelift/src/constant.rs index 0739061fdbd..48972321a9f 100644 --- a/compiler/rustc_codegen_cranelift/src/constant.rs +++ b/compiler/rustc_codegen_cranelift/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::ZeroSized => unreachable!(), // we already handles ZST above ConstValue::Scalar(x) => match x { Scalar::Int(int) => { if fx.clif_type(layout.ty).is_some() { |
