mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 05:57:03 +03:00
fix test-cargo-miri
This commit is contained in:
@@ -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))]
|
||||
|
||||
Reference in New Issue
Block a user