From b6aaacd9914a98d91f0abb8d727bbba14d82957c Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sat, 15 Feb 2020 21:37:53 +0100 Subject: [PATCH] fix codegen tests --- src/test/codegen/issue-56927.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/codegen/issue-56927.rs b/src/test/codegen/issue-56927.rs index 0544ff86aac..5ba17d3499b 100644 --- a/src/test/codegen/issue-56927.rs +++ b/src/test/codegen/issue-56927.rs @@ -23,7 +23,7 @@ pub fn test1(s: &mut S) { // CHECK-LABEL: @test2 // CHECK: store i32 4, i32* %{{.+}}, align 4 -#[allow(const_err)] +#[allow(panic)] #[no_mangle] pub fn test2(s: &mut S) { s.arr[usize::MAX / 4 + 1] = 4;