File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,10 @@ fn rustc_bootstrap() {
117117 "# ;
118118 let p = project ( )
119119 . file ( "Cargo.toml" , & basic_manifest ( "has-dashes" , "0.0.1" ) )
120- . file ( "src/lib.rs" , "#![feature(rustc_attrs)]" )
120+ . file (
121+ "src/lib.rs" ,
122+ "#![allow(internal_features)] #![feature(rustc_attrs)]" ,
123+ )
121124 . file ( "build.rs" , build_rs)
122125 . build ( ) ;
123126 // RUSTC_BOOTSTRAP unset on stable should error
@@ -154,7 +157,10 @@ fn rustc_bootstrap() {
154157 // Tests for binaries instead of libraries
155158 let p = project ( )
156159 . file ( "Cargo.toml" , & basic_manifest ( "foo" , "0.0.1" ) )
157- . file ( "src/main.rs" , "#![feature(rustc_attrs)] fn main() {}" )
160+ . file (
161+ "src/main.rs" ,
162+ "#![allow(internal_features)] #![feature(rustc_attrs)] fn main() {}" ,
163+ )
158164 . file ( "build.rs" , build_rs)
159165 . build ( ) ;
160166 // nightly should warn when there's no library whether or not RUSTC_BOOTSTRAP is set
You can’t perform that action at this time.
0 commit comments