diff --git a/src/bin/cargo/commands/add.rs b/src/bin/cargo/commands/add.rs
index ca75e7346226..b1bde446bfea 100644
--- a/src/bin/cargo/commands/add.rs
+++ b/src/bin/cargo/commands/add.rs
@@ -87,7 +87,7 @@ Example uses:
- Depend on crates with the same name from different registries"),
flag(
"ignore-rust-version",
- "Ignore `rust-version` specification in packages (unstable)"
+ "Ignore `rust-version` specification in packages"
),
])
.arg_manifest_path_without_unsupported_path_tip()
@@ -206,14 +206,6 @@ pub fn exec(gctx: &mut GlobalContext, args: &ArgMatches) -> CliResult {
let dependencies = parse_dependencies(gctx, args)?;
let ignore_rust_version = args.flag("ignore-rust-version");
- if ignore_rust_version && !gctx.cli_unstable().msrv_policy {
- return Err(CliError::new(
- anyhow::format_err!(
- "`--ignore-rust-version` is unstable; pass `-Zmsrv-policy` to enable support for it"
- ),
- 101,
- ));
- }
let honor_rust_version = !ignore_rust_version;
let options = AddOptions {
diff --git a/src/cargo/ops/cargo_add/mod.rs b/src/cargo/ops/cargo_add/mod.rs
index 61b12c7ac66b..745701e83ff3 100644
--- a/src/cargo/ops/cargo_add/mod.rs
+++ b/src/cargo/ops/cargo_add/mod.rs
@@ -615,7 +615,7 @@ fn get_latest_dependency(
)
})?;
- if gctx.cli_unstable().msrv_policy && honor_rust_version {
+ if honor_rust_version {
let (req_msrv, is_msrv) = spec
.rust_version()
.cloned()
diff --git a/src/doc/man/cargo-add.md b/src/doc/man/cargo-add.md
index 3c7adec4e049..d773004a7d23 100644
--- a/src/doc/man/cargo-add.md
+++ b/src/doc/man/cargo-add.md
@@ -141,11 +141,6 @@ which enables all specified features.
{{#option "`--ignore-rust-version`" }}
Ignore `rust-version` specification in packages.
-
-This option is unstable and available only on the
-[nightly channel](https://doc.rust-lang.org/book/appendix-07-nightly-rust.html)
-and requires the `-Z unstable-options` flag to enable.
-See --ignore-rust-version
rust-version
specification in packages.
This option is unstable and available only on the
-nightly channel
-and requires the -Z unstable-options
flag to enable.
-See https://github.com/rust-lang/cargo/issues/5579 for more information.
+
rust-version
specification in packages.