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> {
24662466 rustc. args ( & [ "-A" , "unused" ] ) ;
24672467 }
24682468
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+ }
24712476
24722477 if self . props . force_host {
24732478 self . maybe_add_external_args ( & mut rustc, & self . config . host_rustcflags ) ;
You can’t perform that action at this time.
0 commit comments