Skip to content

Commit 0e7e5b9

Browse files
committed
fix test-cargo-miri
1 parent 627d7cb commit 0e7e5b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-cargo-miri/tests/test.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ fn do_panic() { // In large, friendly letters :)
5555

5656
// FIXME: see above
5757
#[test]
58-
#[allow(const_err)]
58+
#[allow(unconditional_panic)]
5959
#[cfg_attr(not(windows), should_panic(expected="the len is 0 but the index is 42"))]
6060
fn fail_index_check() {
6161
#[cfg(not(windows))]

0 commit comments

Comments
 (0)