File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -1041,11 +1041,11 @@ impl Config {
10411041 eprintln ! ( "ERROR: cannot run clippy on stage 0. Use at least stage 1." ) ;
10421042 exit ! ( 1 ) ;
10431043 }
1044- ( 0 , Subcommand :: Dist { .. } ) => {
1044+ ( 0 , Subcommand :: Dist ) => {
10451045 eprintln ! ( "ERROR: cannot dist anything on stage 0. Use at least stage 1." ) ;
10461046 exit ! ( 1 ) ;
10471047 }
1048- ( 0 , Subcommand :: Install { .. } ) => {
1048+ ( 0 , Subcommand :: Install ) => {
10491049 eprintln ! ( "ERROR: cannot install anything on stage 0. Use at least stage 1." ) ;
10501050 exit ! ( 1 ) ;
10511051 }
Original file line number Diff line number Diff line change @@ -516,4 +516,9 @@ pub const CONFIG_CHANGE_HISTORY: &[ChangeInfo] = &[
516516 severity : ChangeSeverity :: Info ,
517517 summary : "Build/check now supports forwarding `--timings` flag to cargo." ,
518518 } ,
519+ ChangeInfo {
520+ change_id : 145472 ,
521+ severity : ChangeSeverity :: Warning ,
522+ summary : "It is no longer possible to `x dist` or `x install` with stage 0. All dist and install commands have to be on stage 1+." ,
523+ } ,
519524] ;
You can’t perform that action at this time.
0 commit comments