From 0c71e0c5967c4650c617dfc5cc11152b0e08370c Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 9 Jul 2014 10:57:01 -0700 Subject: Register new snapshots Closes #15544 --- src/libstd/lib.rs | 2 -- src/libstd/prelude.rs | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'src/libstd') diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index 928a1088d0e..30eebf223aa 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -94,7 +94,6 @@ //! all the standard macros, such as `assert!`, `fail!`, `println!`, //! and `format!`, also available to all Rust code. -#![crate_id = "std#0.11.0"] // NOTE: remove after stage0 snap #![crate_name = "std"] #![unstable] #![comment = "The Rust standard library"] @@ -108,7 +107,6 @@ #![feature(macro_rules, globs, managed_boxes, linkage)] #![feature(default_type_params, phase, lang_items, unsafe_destructor)] -#![allow(unused_attribute)] // NOTE: remove after stage0 // Don't link to std. We are std. #![no_std] diff --git a/src/libstd/prelude.rs b/src/libstd/prelude.rs index 6d60fc19d5d..edff6c50505 100644 --- a/src/libstd/prelude.rs +++ b/src/libstd/prelude.rs @@ -45,7 +45,7 @@ #[doc(no_inline)] pub use ops::{BitAnd, BitOr, BitXor}; #[doc(no_inline)] pub use ops::{Drop, Deref, DerefMut}; #[doc(no_inline)] pub use ops::{Shl, Shr}; -#[doc(no_inline)] #[cfg(not(stage0))] pub use ops::{Index, IndexMut}; +#[doc(no_inline)] pub use ops::{Index, IndexMut}; #[doc(no_inline)] pub use option::{Option, Some, None}; #[doc(no_inline)] pub use result::{Result, Ok, Err}; -- cgit 1.4.1-3-g733a5