Skip to content

Commit fd1b671

Browse files
committed
Add tracking issue number
1 parent a55d1ff commit fd1b671

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

Diff for: src/bin/cargo/commands/clean.rs

+6-4
Original file line numberDiff line numberDiff line change
@@ -176,10 +176,12 @@ pub fn exec(config: &mut Config, args: &ArgMatches) -> CliResult {
176176
}
177177

178178
let unstable_gc = |opt| {
179-
// TODO: issue number
180-
config
181-
.cli_unstable()
182-
.fail_if_stable_opt_custom_z(opt, 0, "gc", config.cli_unstable().gc)
179+
config.cli_unstable().fail_if_stable_opt_custom_z(
180+
opt,
181+
12633,
182+
"gc",
183+
config.cli_unstable().gc,
184+
)
183185
};
184186
let unstable_cache_opt = |opt| -> CargoResult<Option<&str>> {
185187
let arg = args.get_one::<String>(opt).map(String::as_str);

Diff for: tests/testsuite/clean.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ fn clean_dry_run_gated() {
685685
.with_stderr("\
686686
error: the `dry-run` flag is unstable, and only available on the nightly channel of Cargo, but this is the `stable` channel
687687
See https://doc.rust-lang.org/book/appendix-07-nightly-rust.html for more information about Rust release channels.
688-
See https://github.com/rust-lang/cargo/issues/0 for more information about the `dry-run` flag.
688+
See https://github.com/rust-lang/cargo/issues/12633 for more information about the `dry-run` flag.
689689
")
690690
.run();
691691
}

0 commit comments

Comments
 (0)