mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 13:05:18 +03:00
Rollup merge of #68736 - TimDiekmann:remove-alloc, r=Amanieu
Remove `Alloc` in favor of `AllocRef` `AllocRef` was reexported as `Alloc` in #68529 in order to not break toolstate in the week before the next stable release. r? @Amanieu
This commit is contained in:
@@ -1227,10 +1227,3 @@ unsafe fn dealloc_array<T>(&mut self, ptr: NonNull<T>, n: usize) -> Result<(), A
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// In order to rename `Alloc` to `AllocRef`, some submoduleshas to be updated as well. The CI fails
|
||||
// if either of the submodules fails to compile. The submodules have their own CI depending on a
|
||||
// specific Rust version, which don't have `AllocRef` yet. This alias is used to make the submodules
|
||||
// compile and pass the CI.
|
||||
#[unstable(feature = "allocator_api", issue = "32838")]
|
||||
pub use self::AllocRef as Alloc;
|
||||
|
||||
Reference in New Issue
Block a user