about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2015-02-10 22:52:44 +0100
committerFelix S. Klock II <pnkfelix@pnkfx.org>2015-02-11 11:47:14 +0100
commite5ec43e217703c19f58842ebd8c40d35345bd896 (patch)
tree1b4ed1a7bcf457b04bb33ddaf20edabd0c47187e /src
parent105f70b50097a5776ef0d1a6da6753c25d191aa6 (diff)
downloadrust-e5ec43e217703c19f58842ebd8c40d35345bd896.tar.gz
rust-e5ec43e217703c19f58842ebd8c40d35345bd896.zip
Opt into new `box_patterns` feature gate in various crates.
Namely: `collections` (used in `dlist.rs`), `syntax`, `rustc`,
`rustc_typeck`, `rustc_trans`, and `rustdoc`.
Diffstat (limited to 'src')
-rw-r--r--src/libcollections/lib.rs1
-rw-r--r--src/librustc/lib.rs1
-rw-r--r--src/librustc_trans/lib.rs1
-rw-r--r--src/librustc_typeck/lib.rs1
-rw-r--r--src/librustdoc/lib.rs1
-rw-r--r--src/libsyntax/lib.rs1
6 files changed, 6 insertions, 0 deletions
diff --git a/src/libcollections/lib.rs b/src/libcollections/lib.rs
index a542ee5d47d..0dd48fcfab6 100644
--- a/src/libcollections/lib.rs
+++ b/src/libcollections/lib.rs
@@ -24,6 +24,7 @@
 
 #![feature(alloc)]
 #![feature(box_syntax)]
+#![feature(box_patterns)]
 #![feature(core)]
 #![feature(hash)]
 #![feature(staged_api)]
diff --git a/src/librustc/lib.rs b/src/librustc/lib.rs
index 00324820433..a4c4ea54386 100644
--- a/src/librustc/lib.rs
+++ b/src/librustc/lib.rs
@@ -23,6 +23,7 @@
       html_favicon_url = "http://www.rust-lang.org/favicon.ico",
       html_root_url = "http://doc.rust-lang.org/nightly/")]
 
+#![feature(box_patterns)]
 #![feature(box_syntax)]
 #![feature(collections)]
 #![feature(core)]
diff --git a/src/librustc_trans/lib.rs b/src/librustc_trans/lib.rs
index 94a1d4dd5b2..c4d1416d975 100644
--- a/src/librustc_trans/lib.rs
+++ b/src/librustc_trans/lib.rs
@@ -24,6 +24,7 @@
       html_root_url = "http://doc.rust-lang.org/nightly/")]
 
 #![feature(alloc)]
+#![feature(box_patterns)]
 #![feature(box_syntax)]
 #![feature(collections)]
 #![feature(core)]
diff --git a/src/librustc_typeck/lib.rs b/src/librustc_typeck/lib.rs
index ccf392365ce..d490ea5408d 100644
--- a/src/librustc_typeck/lib.rs
+++ b/src/librustc_typeck/lib.rs
@@ -74,6 +74,7 @@ This API is completely unstable and subject to change.
 
 #![allow(non_camel_case_types)]
 
+#![feature(box_patterns)]
 #![feature(box_syntax)]
 #![feature(collections)]
 #![feature(core)]
diff --git a/src/librustdoc/lib.rs b/src/librustdoc/lib.rs
index 40e9703c03f..0253aaa31ca 100644
--- a/src/librustdoc/lib.rs
+++ b/src/librustdoc/lib.rs
@@ -18,6 +18,7 @@
        html_root_url = "http://doc.rust-lang.org/nightly/",
        html_playground_url = "http://play.rust-lang.org/")]
 
+#![feature(box_patterns)]
 #![feature(box_syntax)]
 #![feature(collections)]
 #![feature(core)]
diff --git a/src/libsyntax/lib.rs b/src/libsyntax/lib.rs
index 41850ada3e6..951e4dcf792 100644
--- a/src/libsyntax/lib.rs
+++ b/src/libsyntax/lib.rs
@@ -23,6 +23,7 @@
        html_favicon_url = "http://www.rust-lang.org/favicon.ico",
        html_root_url = "http://doc.rust-lang.org/nightly/")]
 
+#![feature(box_patterns)]
 #![feature(box_syntax)]
 #![feature(collections)]
 #![feature(core)]