]> git.lizzy.rs Git - rust.git/commitdiff
Opt into new `box_patterns` feature gate in various crates.
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Tue, 10 Feb 2015 21:52:44 +0000 (22:52 +0100)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Wed, 11 Feb 2015 10:47:14 +0000 (11:47 +0100)
Namely: `collections` (used in `dlist.rs`), `syntax`, `rustc`,
`rustc_typeck`, `rustc_trans`, and `rustdoc`.

src/libcollections/lib.rs
src/librustc/lib.rs
src/librustc_trans/lib.rs
src/librustc_typeck/lib.rs
src/librustdoc/lib.rs
src/libsyntax/lib.rs

index a542ee5d47d36c84c14175fc6a63cafdbbf8d950..0dd48fcfab6e5ca89739b3ce0b89686b187febe7 100644 (file)
@@ -24,6 +24,7 @@
 
 #![feature(alloc)]
 #![feature(box_syntax)]
+#![feature(box_patterns)]
 #![feature(core)]
 #![feature(hash)]
 #![feature(staged_api)]
index 003248204335045969bb5b867fbedcc9ef01c140..a4c4ea5438691b2d4ffa7b12818b0b58870326a9 100644 (file)
@@ -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)]
index 94a1d4dd5b2a42f89546bd1e2d4412fe92daefc4..c4d1416d975cce8345c262a03c2796a1efa15fc3 100644 (file)
@@ -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)]
index ccf392365cea0ee27ea5eadc44d9e3f161b98af9..d490ea5408d779b170f4469e076c3d7d72a134bf 100644 (file)
@@ -74,6 +74,7 @@
 
 #![allow(non_camel_case_types)]
 
+#![feature(box_patterns)]
 #![feature(box_syntax)]
 #![feature(collections)]
 #![feature(core)]
index 40e9703c03ffbf1a31ace44d3d685de6923730c3..0253aaa31ca3678b180006feb14df11ca202a0bd 100644 (file)
@@ -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)]
index 41850ada3e62b3aaec5961b5fdfd77a0fa789648..951e4dcf79254a3a1aa0b4101f264e4319368129 100644 (file)
@@ -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)]