diff --git a/test-cargo-miri/tests/test.rs b/test-cargo-miri/tests/test.rs index 4c196ef5e0f5..0095802a59a8 100644 --- a/test-cargo-miri/tests/test.rs +++ b/test-cargo-miri/tests/test.rs @@ -55,7 +55,7 @@ fn do_panic() { // In large, friendly letters :) // FIXME: see above #[test] -#[allow(const_err)] +#[allow(unconditional_panic)] #[cfg_attr(not(windows), should_panic(expected="the len is 0 but the index is 42"))] fn fail_index_check() { #[cfg(not(windows))]