diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2021-01-16 17:30:13 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-16 17:30:13 +0000 |
| commit | 61be4e802471409b0f14f0ed2cf160ce446a445f (patch) | |
| tree | 0fea9312b536469c1deb9dcc276d05f7cf24c194 /compiler | |
| parent | b67689bdf504522bbd1bc0c8480c6c6cdbb042b8 (diff) | |
| parent | b681631eff8d842c9b5f1e9d7fcf5d8259a02a0a (diff) | |
| download | rust-61be4e802471409b0f14f0ed2cf160ce446a445f.tar.gz rust-61be4e802471409b0f14f0ed2cf160ce446a445f.zip | |
Rollup merge of #81065 - osa1:cranelift_semicolon_warning, r=jyn514
codegen_cranelift: Fix redundant semicolon warn
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/rustc_codegen_cranelift/src/intrinsics/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_cranelift/src/intrinsics/mod.rs b/compiler/rustc_codegen_cranelift/src/intrinsics/mod.rs index be5b247bb9f..8946ac43bc6 100644 --- a/compiler/rustc_codegen_cranelift/src/intrinsics/mod.rs +++ b/compiler/rustc_codegen_cranelift/src/intrinsics/mod.rs @@ -824,7 +824,7 @@ pub(crate) fn codegen_intrinsic_call<'tcx>( } ty => unreachable!("bswap {}", ty), } - }; + } let res = CValue::by_val(swap(&mut fx.bcx, arg), fx.layout_of(T)); ret.write_cvalue(fx, res); }; |
