Rollup merge of #70559 - RalfJung:btree-test-miri, r=Mark-Simulacrum
fix BTreeMap test compilation with Miri This got broken by https://github.com/rust-lang/rust/pull/70506
This commit is contained in:
commit
298a89bff3
1 changed files with 1 additions and 1 deletions
|
|
@ -528,7 +528,7 @@ fn test_range_1000() {
|
|||
#[cfg(not(miri))] // Miri is too slow
|
||||
let size = 1000;
|
||||
#[cfg(miri)]
|
||||
let size = MIN_INSERTS_HEIGHT_2;
|
||||
let size = MIN_INSERTS_HEIGHT_2 as u32;
|
||||
let map: BTreeMap<_, _> = (0..size).map(|i| (i, i)).collect();
|
||||
|
||||
fn test(map: &BTreeMap<u32, u32>, size: u32, min: Bound<&u32>, max: Bound<&u32>) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue