Skip to content

Commit 6f3a80e

Browse files
committed
Set allow(unstable) in crates that use unstable features
Lets them build with the -dev, -nightly, or snapshot compiler
1 parent 056f8f0 commit 6f3a80e

File tree

30 files changed

+31
-0
lines changed

30 files changed

+31
-0
lines changed

src/compiletest/compiletest.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#![feature(slicing_syntax, unboxed_closures)]
1414
#![feature(box_syntax)]
1515
#![feature(int_uint)]
16+
#![allow(unstable)]
1617

1718
#![deny(warnings)]
1819

src/liballoc/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666

6767
#![no_std]
6868
#![allow(unknown_features)]
69+
#![allow(unstable)]
6970
#![feature(lang_items, unsafe_destructor)]
7071
#![feature(box_syntax)]
7172
#![feature(optin_builtin_traits)]

src/libarena/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
#![feature(box_syntax)]
3535
#![allow(unknown_features)] #![feature(int_uint)]
3636
#![allow(missing_docs)]
37+
#![allow(unstable)]
3738

3839
extern crate alloc;
3940

src/libcollections/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
#![feature(unboxed_closures)]
2929
#![feature(old_impl_check)]
3030
#![allow(unknown_features)] #![feature(int_uint)]
31+
#![allow(unstable)]
3132
#![no_std]
3233

3334
#[macro_use]

src/libcoretest/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#![feature(unboxed_closures)]
1313
#![feature(box_syntax)]
1414
#![allow(unknown_features)] #![feature(int_uint)]
15+
#![allow(unstable)]
1516

1617
extern crate core;
1718
extern crate test;

src/libflate/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#![unstable]
1919
#![staged_api]
2020
#![allow(unknown_features)] #![feature(int_uint)]
21+
#![allow(unstable)]
2122
#![crate_type = "rlib"]
2223
#![crate_type = "dylib"]
2324
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",

src/libfmt_macros/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626

2727
#![feature(slicing_syntax)]
2828
#![allow(unknown_features)] #![feature(int_uint)]
29+
#![allow(unstable)]
2930

3031
pub use self::Piece::*;
3132
pub use self::Position::*;

src/libgetopts/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
html_playground_url = "http://play.rust-lang.org/")]
8989
#![feature(slicing_syntax)]
9090
#![allow(unknown_features)] #![feature(int_uint)]
91+
#![allow(unstable)]
9192
#![deny(missing_docs)]
9293

9394
#[cfg(test)] #[macro_use] extern crate log;

src/libgraphviz/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@
274274
html_root_url = "http://doc.rust-lang.org/nightly/")]
275275
#![feature(slicing_syntax)]
276276
#![allow(unknown_features)] #![feature(int_uint)]
277+
#![allow(unstable)]
277278

278279
use self::LabelText::*;
279280

src/liblibc/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#![cfg_attr(not(feature = "cargo-build"), unstable)]
1414
#![cfg_attr(not(feature = "cargo-build"), staged_api)]
1515
#![allow(unknown_features)] #![feature(int_uint)]
16+
#![allow(unstable)]
1617
#![no_std]
1718
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
1819
html_favicon_url = "http://www.rust-lang.org/favicon.ico",

0 commit comments

Comments
 (0)