File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
src/tools/compiletest/src Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -2466,8 +2466,13 @@ impl<'test> TestCx<'test> {
2466
2466
rustc. args ( & [ "-A" , "unused" ] ) ;
2467
2467
}
2468
2468
2469
- // Allow tests to use internal features.
2470
- rustc. args ( & [ "-A" , "internal_features" ] ) ;
2469
+ // #[cfg(not(bootstrap)] unconditionally pass flag after beta bump
2470
+ // since `ui-fulldeps --stage=1` builds using the stage 0 compiler,
2471
+ // which doesn't have this lint.
2472
+ if !( self . config . stage_id . starts_with ( "stage1-" ) && self . config . suite == "ui-fulldeps" ) {
2473
+ // Allow tests to use internal features.
2474
+ rustc. args ( & [ "-A" , "internal_features" ] ) ;
2475
+ }
2471
2476
2472
2477
if self . props . force_host {
2473
2478
self . maybe_add_external_args ( & mut rustc, & self . config . host_rustcflags ) ;
You can’t perform that action at this time.
0 commit comments