Skip to content

Commit cfeab25

Browse files
committed
Allow unknown features to bootstrap rustc with box_syntax feature.
Specifically added to the test, librustc_trans, librustc_typeck crates.
1 parent 4a31aad commit cfeab25

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/librustc_trans/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
2323
html_root_url = "http://doc.rust-lang.org/nightly/")]
2424

25+
#![allow(unknown_features)]
2526
#![feature(quote)]
2627
#![feature(slicing_syntax, unsafe_destructor)]
2728
#![feature(box_syntax)]

src/librustc_typeck/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ This API is completely unstable and subject to change.
7171
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
7272
html_root_url = "http://doc.rust-lang.org/nightly/")]
7373

74+
#![allow(unknown_features)]
7475
#![feature(quote)]
7576
#![feature(slicing_syntax, unsafe_destructor)]
7677
#![feature(box_syntax)]

src/libtest/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
3131
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
3232
html_root_url = "http://doc.rust-lang.org/nightly/")]
33+
#![allow(unknown_features)]
3334
#![feature(asm, slicing_syntax)]
3435
#![feature(box_syntax)]
3536

0 commit comments

Comments
 (0)