Skip to content

Commit e75a658

Browse files
committed
Fix build on 2015-01-28 nightly
See rust-lang/rust#21248.
1 parent 8eb3a27 commit e75a658

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

macros/src/lib.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
#![feature(plugin_registrar, quote, int_uint, box_syntax)]
1414
#![deny(warnings)]
1515
#![allow(unused_imports)] // for quotes
16-
#![allow(unstable)]
16+
#![feature(core)]
17+
#![feature(rustc_private)]
18+
#![feature(std_misc)]
1719

1820
extern crate core;
1921
extern crate syntax;

src/lib.rs

+5-2
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,13 @@
1010
#![crate_name = "string_cache"]
1111
#![crate_type = "rlib"]
1212

13-
#![feature(plugin, old_orphan_check)]
1413
#![no_std]
1514
#![deny(warnings)]
16-
#![allow(unstable)]
15+
#![feature(alloc)]
16+
#![feature(collections)]
17+
#![feature(core)]
18+
#![feature(hash)]
19+
#![feature(plugin)]
1720

1821
#[macro_use]
1922
extern crate core;

src/namespace.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
// option. This file may not be copied, modified, or distributed
88
// except according to those terms.
99

10-
#![experimental="This may move as string-cache becomes less Web-specific."]
10+
#![unstable(feature = "string_cache_namespace",
11+
reason = "This may move as string-cache becomes less Web-specific.")]
1112

1213
use core::prelude::*;
1314

0 commit comments

Comments
 (0)