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() {
117
117
"# ;
118
118
let p = project ( )
119
119
. 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
+ )
121
124
. file ( "build.rs" , build_rs)
122
125
. build ( ) ;
123
126
// RUSTC_BOOTSTRAP unset on stable should error
@@ -154,7 +157,10 @@ fn rustc_bootstrap() {
154
157
// Tests for binaries instead of libraries
155
158
let p = project ( )
156
159
. 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
+ )
158
164
. file ( "build.rs" , build_rs)
159
165
. build ( ) ;
160
166
// 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