fix test-cargo-miri

This commit is contained in:
Ralf Jung 2020-02-21 11:03:52 +01:00
parent 627d7cba64
commit 0e7e5b9655

View file

@ -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))]