Skip to content

Commit

Permalink
Allow unknown features to bootstrap rustc with box_syntax feature.
Browse files Browse the repository at this point in the history
Specifically added to the test, librustc_trans, librustc_typeck crates.
  • Loading branch information
pnkfelix committed Jan 7, 2015
1 parent 4a31aad commit cfeab25
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/librustc_trans/lib.rs
Expand Up @@ -22,6 +22,7 @@
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
html_root_url = "http://doc.rust-lang.org/nightly/")]

#![allow(unknown_features)]
#![feature(quote)]
#![feature(slicing_syntax, unsafe_destructor)]
#![feature(box_syntax)]
Expand Down
1 change: 1 addition & 0 deletions src/librustc_typeck/lib.rs
Expand Up @@ -71,6 +71,7 @@ This API is completely unstable and subject to change.
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
html_root_url = "http://doc.rust-lang.org/nightly/")]

#![allow(unknown_features)]
#![feature(quote)]
#![feature(slicing_syntax, unsafe_destructor)]
#![feature(box_syntax)]
Expand Down
1 change: 1 addition & 0 deletions src/libtest/lib.rs
Expand Up @@ -30,6 +30,7 @@
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
html_root_url = "http://doc.rust-lang.org/nightly/")]
#![allow(unknown_features)]
#![feature(asm, slicing_syntax)]
#![feature(box_syntax)]

Expand Down

0 comments on commit cfeab25

Please sign in to comment.