Skip to content

Commit b3e650e

Browse files
committed
Update mod.rs
1 parent 025429f commit b3e650e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • compiler/rustc_codegen_gcc/src/intrinsic

compiler/rustc_codegen_gcc/src/intrinsic/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ impl<'a, 'gcc, 'tcx> IntrinsicCallBuilderMethods<'tcx> for Builder<'a, 'gcc, 'tc
508508
}
509509
sym::fabs => 'fabs: {
510510
let ty = args[0].layout.ty;
511-
let ty::Float(float_ty) = ty.kind() else {
511+
let ty::Float(float_ty) = *ty.kind() else {
512512
tcx.dcx().emit_err(InvalidMonomorphization::BasicFloatType { span, name, ty });
513513
return Ok(());
514514
};

0 commit comments

Comments
 (0)