summary refs log tree commit diff
path: root/src/rustbook
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2015-01-16 22:33:24 -0800
committerBrian Anderson <banderson@mozilla.com>2015-01-17 16:38:04 -0800
commit6f3a80e4117af4e2c167101fb4fdba35d3e1f7eb (patch)
tree7701c03028179de3769bac2c84f04d4e214e1963 /src/rustbook
parent056f8f02516da6e878a00549f9b2a0d68e6bcad8 (diff)
downloadrust-6f3a80e4117af4e2c167101fb4fdba35d3e1f7eb.tar.gz
rust-6f3a80e4117af4e2c167101fb4fdba35d3e1f7eb.zip
Set allow(unstable) in crates that use unstable features
Lets them build with the -dev, -nightly, or snapshot compiler
Diffstat (limited to 'src/rustbook')
-rw-r--r--src/rustbook/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rustbook/main.rs b/src/rustbook/main.rs
index 85b9a7d79db..ea72c653087 100644
--- a/src/rustbook/main.rs
+++ b/src/rustbook/main.rs
@@ -9,6 +9,7 @@
 // except according to those terms.
 
 #![feature(slicing_syntax, box_syntax)]
+#![allow(unstable)]
 
 extern crate regex;