Skip to content

Commit

Permalink
Add tracking issue number
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Sep 7, 2023
1 parent a55d1ff commit fd1b671
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions src/bin/cargo/commands/clean.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,12 @@ pub fn exec(config: &mut Config, args: &ArgMatches) -> CliResult {
}

let unstable_gc = |opt| {
// TODO: issue number
config
.cli_unstable()
.fail_if_stable_opt_custom_z(opt, 0, "gc", config.cli_unstable().gc)
config.cli_unstable().fail_if_stable_opt_custom_z(
opt,
12633,
"gc",
config.cli_unstable().gc,
)
};
let unstable_cache_opt = |opt| -> CargoResult<Option<&str>> {
let arg = args.get_one::<String>(opt).map(String::as_str);
Expand Down
2 changes: 1 addition & 1 deletion tests/testsuite/clean.rs
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ fn clean_dry_run_gated() {
.with_stderr("\
error: the `dry-run` flag is unstable, and only available on the nightly channel of Cargo, but this is the `stable` channel
See https://doc.rust-lang.org/book/appendix-07-nightly-rust.html for more information about Rust release channels.
See https://github.com/rust-lang/cargo/issues/0 for more information about the `dry-run` flag.
See https://github.com/rust-lang/cargo/issues/12633 for more information about the `dry-run` flag.
")
.run();
}
Expand Down

0 comments on commit fd1b671

Please sign in to comment.