Skip to content

Commit 3ecff1b

Browse files
committed
bootstrap: fix warnings
Signed-off-by: onur-ozkan <[email protected]>
1 parent f1e3e75 commit 3ecff1b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/bootstrap/src/core/build_steps/run.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
use std::path::PathBuf;
22
use std::process::Command;
33

4-
use clap_complete::shells;
5-
64
use crate::core::build_steps::dist::distdir;
75
use crate::core::build_steps::test;
86
use crate::core::build_steps::tool::{self, SourceType, Tool};

src/bootstrap/src/utils/bin_helpers.rs

+1
Original file line numberDiff line numberDiff 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)]
2122
pub(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.

0 commit comments

Comments
 (0)