about summary refs log tree commit diff
path: root/src/libstd/prelude.rs
diff options
context:
space:
mode:
authorAaron Turon <aturon@mozilla.com>2014-06-30 17:22:40 -0700
committerAaron Turon <aturon@mozilla.com>2014-06-30 22:49:18 -0700
commitf7bb31a47a11ea85535024965432bcef90f407f7 (patch)
tree68cc47670311a42d3652edca451676e277b63b24 /src/libstd/prelude.rs
parent8bc286f9987963bd40465905a2c89098f0e10601 (diff)
downloadrust-f7bb31a47a11ea85535024965432bcef90f407f7.tar.gz
rust-f7bb31a47a11ea85535024965432bcef90f407f7.zip
libstd: set baseline stability levels.
Earlier commits have established a baseline of `experimental` stability
for all crates under the facade (so their contents are considered
experimental within libstd). Since `experimental` is `allow` by
default, we should use the same baseline stability for libstd itself.

This commit adds `experimental` tags to all of the modules defined in
`std`, and `unstable` to `std` itself.
Diffstat (limited to 'src/libstd/prelude.rs')
-rw-r--r--src/libstd/prelude.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstd/prelude.rs b/src/libstd/prelude.rs
index dfe6988624e..61e8b63af35 100644
--- a/src/libstd/prelude.rs
+++ b/src/libstd/prelude.rs
@@ -37,6 +37,8 @@
 //! particularly useful standalone functions, like `from_str`, `range`, and
 //! `drop`, `spawn`, and `channel`.
 
+#![experimental]
+
 // Reexported core operators
 #[doc(no_inline)] pub use kinds::{Copy, Send, Sized, Share};
 #[doc(no_inline)] pub use ops::{Add, Sub, Mul, Div, Rem, Neg, Not};