Skip to content

Commit 953ff6d

Browse files
committed
apply #[allow(unused)] on bin_helpers::parse_rustc_stage
Signed-off-by: onur-ozkan <[email protected]>
1 parent 087d4ad commit 953ff6d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)