about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2018-07-07 00:43:11 +0200
committerSimon Sapin <simon.sapin@exyr.org>2018-07-07 23:08:43 +0200
commitb842177cfac47668376c98932a931eaf47eed542 (patch)
tree52927db780f043931d98cdc8e550136a97feb75f /src/rustllvm/RustWrapper.cpp
parente06c875442e91cc2c597135d1e807a69e73eee26 (diff)
downloadrust-b842177cfac47668376c98932a931eaf47eed542.tar.gz
rust-b842177cfac47668376c98932a931eaf47eed542.zip
Add the `alloc::prelude` module
It contains the re-exports that are in `std::prelude::v1`
but not in `core::prelude::v1`.

Calling it prelude is somewhat of a misnomer since (unlike those modules
in `std` or `core`) its contents are never implicitly imported in modules.
Rather it is intended to be used with an explicit glob import like
`use alloc::prelude::*;`.
However there is precedent for the same misnomer with `std::io::prelude`,
for example.

This new module is unstable with the same feature name as the `alloc` care.
They are proposed for stabilization together in RFC
https://github.com/rust-lang/rfcs/pull/2480
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions