Skip to content

Commit cb5f0b4

Browse files
committed
Avoid feature-warnings on stage0.
1 parent 75da81e commit cb5f0b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libstd/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@
203203
test(no_crate_inject, attr(deny(warnings))),
204204
test(attr(allow(dead_code, deprecated, unused_variables, unused_mut))))]
205205

206+
#![cfg_attr(stage0, allow(unused_features))]
206207
#![feature(alloc)]
207208
#![feature(allow_internal_unstable)]
208209
#![feature(associated_consts)]

0 commit comments

Comments
 (0)