File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change 11use std:: path:: PathBuf ;
22use std:: process:: Command ;
33
4- use clap_complete:: shells;
5-
64use crate :: core:: build_steps:: dist:: distdir;
75use crate :: core:: build_steps:: test;
86use crate :: core:: build_steps:: tool:: { self , SourceType , Tool } ;
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ pub(crate) fn parse_rustc_verbose() -> usize {
1818/// Parses the value of the "RUSTC_STAGE" environment variable and returns it as a `String`.
1919///
2020/// If "RUSTC_STAGE" was not set, the program will be terminated with 101.
21+ #[ allow( unused) ]
2122pub ( crate ) fn parse_rustc_stage ( ) -> String {
2223 std:: env:: var ( "RUSTC_STAGE" ) . unwrap_or_else ( |_| {
2324 // Don't panic here; it's reasonable to try and run these shims directly. Give a helpful error instead.
You can’t perform that action at this time.
0 commit comments