From 11fac09eadc3a60982e46e2fed177d6b0a686041 Mon Sep 17 00:00:00 2001 From: Deadbeef Date: Thu, 14 Oct 2021 07:35:35 +0000 Subject: [PATCH] fix codegen test --- src/test/codegen/intrinsics/const_eval_select.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/codegen/intrinsics/const_eval_select.rs b/src/test/codegen/intrinsics/const_eval_select.rs index 84777cac7c3..34e653b4b9d 100644 --- a/src/test/codegen/intrinsics/const_eval_select.rs +++ b/src/test/codegen/intrinsics/const_eval_select.rs @@ -5,10 +5,10 @@ use std::intrinsics::const_eval_select; -const fn foo(_: (i32,)) -> i32 { 1 } +const fn foo(_: i32) -> i32 { 1 } #[no_mangle] -pub fn hi((n,): (i32,)) -> i32 { n } +pub fn hi(n: i32) -> i32 { n } #[no_mangle] pub unsafe fn hey() {