We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 121c5be commit 8c6dbcdCopy full SHA for 8c6dbcd
test/src/lib.rs
@@ -374,7 +374,7 @@ quickcheck! {
374
let align = ALIGNS[align % ALIGNS.len()];
375
376
let mut w = &wee_alloc::WeeAlloc::INIT;
377
- let layout = alloc::heap::Layout::from_size_align(size, align).unwrap();
+ let layout = Layout::from_size_align(size, align).unwrap();
378
let _ = unsafe { w.alloc(layout) };
379
}
380
test/tests/global.rs
@@ -1,8 +1,6 @@
1
// Adopted from
2
// https://github.com/alexcrichton/dlmalloc-rs/blob/master/tests/global.rs
3
4
-#![feature(global_allocator)]
5
-
6
extern crate wee_alloc;
7
8
use std::collections::HashMap;
0 commit comments