Skip to content

Commit

Permalink
Rollup merge of #81065 - osa1:cranelift_semicolon_warning, r=jyn514
Browse files Browse the repository at this point in the history
codegen_cranelift: Fix redundant semicolon warn
  • Loading branch information
JohnTitor committed Jan 16, 2021
2 parents 6a131cb + b681631 commit c8bca90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_codegen_cranelift/src/intrinsics/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
};
Expand Down

0 comments on commit c8bca90

Please sign in to comment.