1
Fork 0

Remove Alloc in favor of AllocRef

`AllocRef` was reexported as `Alloc` in order to not break toolstate in the week before the next stable release.
This commit is contained in:
Tim Diekmann 2020-02-01 18:40:12 +01:00
parent 6c0b779b7b
commit 8bbaeb7ff9
No known key found for this signature in database
GPG key ID: D393760BF8145B42

View file

@ -1227,10 +1227,3 @@ pub unsafe trait AllocRef {
}
}
}
// 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;