From 5ca9159ecd8ffcb277c9a399d37c9467d1914104 Mon Sep 17 00:00:00 2001 From: Trevor Buchanan Date: Fri, 5 Feb 2021 14:35:59 -0600 Subject: [PATCH] fix for #55 --- src/koans/array.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/koans/array.rs b/src/koans/array.rs index c5d0817..f1908f0 100644 --- a/src/koans/array.rs +++ b/src/koans/array.rs @@ -20,7 +20,7 @@ fn array_empty() { // that error in this example. #[test] #[should_panic] -#[allow(const_err)] +#[allow(unconditional_panic)] fn out_of_index() { let arr: [&'static str; 5] = ["rust", "is", "mostly", "for", "nerds"]; arr[__];