diff options
| -rw-r--r-- | src/liballoc/lib.rs | 1 | ||||
| -rw-r--r-- | src/libcore/lib.rs | 1 | ||||
| -rw-r--r-- | src/libcore/ops.rs | 12 | ||||
| -rw-r--r-- | src/libnative/lib.rs | 1 | ||||
| -rw-r--r-- | src/librlibc/lib.rs | 1 | ||||
| -rw-r--r-- | src/librustrt/lib.rs | 1 | ||||
| -rw-r--r-- | src/libstd/lib.rs | 1 | ||||
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 6 | ||||
| -rw-r--r-- | src/snapshots.txt | 8 |
9 files changed, 13 insertions, 19 deletions
diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs index e89a9c019bb..77333b4dc2a 100644 --- a/src/liballoc/lib.rs +++ b/src/liballoc/lib.rs @@ -70,7 +70,6 @@ #![no_std] #![feature(lang_items, phase, unsafe_destructor)] -#![allow(unknown_features)] // NOTE: remove after a stage0 snap #[phase(plugin, link)] extern crate core; diff --git a/src/libcore/lib.rs b/src/libcore/lib.rs index aa55f204f45..4dc45ceeb85 100644 --- a/src/libcore/lib.rs +++ b/src/libcore/lib.rs @@ -58,7 +58,6 @@ #![feature(globs, intrinsics, lang_items, macro_rules, managed_boxes, phase)] #![feature(simd, unsafe_destructor)] #![deny(missing_doc)] -#![allow(unknown_features)] // NOTE: remove after stage0 snapshot #[cfg(test)] extern crate realcore = "core"; #[cfg(test)] extern crate libc; diff --git a/src/libcore/ops.rs b/src/libcore/ops.rs index 14edd7c70a8..afa08f04cb2 100644 --- a/src/libcore/ops.rs +++ b/src/libcore/ops.rs @@ -570,12 +570,6 @@ pub trait Shl<RHS,Result> { macro_rules! shl_impl( ($($t:ty)*) => ($( - #[cfg(stage0)] - impl Shl<$t, $t> for $t { - #[inline] - fn shl(&self, other: &$t) -> $t { (*self) << (*other) } - } - #[cfg(not(stage0), not(test))] impl Shl<$t, $t> for $t { #[inline] fn shl(&self, other: &$t) -> $t { @@ -619,12 +613,6 @@ pub trait Shr<RHS,Result> { macro_rules! shr_impl( ($($t:ty)*) => ($( - #[cfg(stage0, not(test))] - impl Shr<$t, $t> for $t { - #[inline] - fn shr(&self, other: &$t) -> $t { (*self) >> (*other) } - } - #[cfg(not(stage0), not(test))] impl Shr<$t, $t> for $t { #[inline] fn shr(&self, other: &$t) -> $t { (*self) >> (*other as uint) } diff --git a/src/libnative/lib.rs b/src/libnative/lib.rs index 3438661ffb3..3ed3d5862b9 100644 --- a/src/libnative/lib.rs +++ b/src/libnative/lib.rs @@ -55,7 +55,6 @@ #![deny(unused_result, unused_must_use)] #![allow(non_camel_case_types, deprecated)] -#![allow(unknown_features)] // NOTE: remove after a stage0 snap #![feature(default_type_params, lang_items)] // NB this crate explicitly does *not* allow glob imports, please seriously diff --git a/src/librlibc/lib.rs b/src/librlibc/lib.rs index 0d917e20c25..4c5419185e5 100644 --- a/src/librlibc/lib.rs +++ b/src/librlibc/lib.rs @@ -27,7 +27,6 @@ html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_root_url = "http://doc.rust-lang.org/")] #![feature(intrinsics)] -#![allow(unknown_features)] // NOTE: remove after stage0 snapshot #![no_std] #![experimental] diff --git a/src/librustrt/lib.rs b/src/librustrt/lib.rs index 34898ea64ac..1c283a4e647 100644 --- a/src/librustrt/lib.rs +++ b/src/librustrt/lib.rs @@ -18,7 +18,6 @@ #![feature(macro_rules, phase, globs, thread_local, managed_boxes, asm)] #![feature(linkage, lang_items, unsafe_destructor)] -#![allow(unknown_features)] // NOTE: remove after stage0 snapshot #![no_std] #![experimental] diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index 8106d516dad..d1029c7a9ba 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -111,7 +111,6 @@ #![no_std] #![allow(deprecated)] -#![allow(unknown_features)] // NOTE: remove after stage0 snapshot #![deny(missing_doc)] // When testing libstd, bring in libuv as the I/O backend so tests can print diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 1cb09bb8d89..0fd5a7086b7 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -1448,7 +1448,11 @@ impl<'a> Parser<'a> { } else if self.eat_keyword(keywords::Const) { MutImmutable } else { - // NOTE: after a stage0 snap this should turn into a span_err. + let span = self.last_span; + self.span_err(span, + "bare raw pointers are no longer allowed, you should \ + likely use `*mut T`, but otherwise `*T` is now \ + known as `*const T`"); MutImmutable }; let t = self.parse_ty(true); diff --git a/src/snapshots.txt b/src/snapshots.txt index ac11d94d2e6..5c694b34193 100644 --- a/src/snapshots.txt +++ b/src/snapshots.txt @@ -1,3 +1,11 @@ +S 2014-06-25 bab614f + freebsd-x86_64 14cb361c8fdefa2534bb6776a04815c08680ecd6 + linux-i386 8fec4845626c557431a4aa7bfb2b5cfc65ad9eda + linux-x86_64 2304534c8e2431a5da2086164dd3a3e019b87ecd + macos-i386 d9e348cc1f9021f0f8e8907880fded80afb5db5b + macos-x86_64 aa790195d1f8191dce2f990ec4323bcc69566288 + winnt-i386 19b67f8a583516553a4fe62e453eecc5c17aff8e + S 2014-06-21 db9af1d freebsd-x86_64 ef2bd0fc0b0efa2bd6f5c1eaa60a2ec8df533254 linux-i386 84339ea0f796ae468ef86797ef4587274bec19ea |
