File tree 2 files changed +1
-2
lines changed
2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change 1
1
use std:: path:: PathBuf ;
2
2
use std:: process:: Command ;
3
3
4
- use clap_complete:: shells;
5
-
6
4
use crate :: core:: build_steps:: dist:: distdir;
7
5
use crate :: core:: build_steps:: test;
8
6
use 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 {
18
18
/// Parses the value of the "RUSTC_STAGE" environment variable and returns it as a `String`.
19
19
///
20
20
/// If "RUSTC_STAGE" was not set, the program will be terminated with 101.
21
+ #[ allow( unused) ]
21
22
pub ( crate ) fn parse_rustc_stage ( ) -> String {
22
23
std:: env:: var ( "RUSTC_STAGE" ) . unwrap_or_else ( |_| {
23
24
// 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