diff --git a/src/cargo/core/compiler/future_incompat.rs b/src/cargo/core/compiler/future_incompat.rs index f201456594a..e13d331e0b8 100644 --- a/src/cargo/core/compiler/future_incompat.rs +++ b/src/cargo/core/compiler/future_incompat.rs @@ -439,7 +439,7 @@ https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html#the-patch drop(bcx.config.shell().note(&suggestion_message)); drop(bcx.config.shell().note(&format!( "this report can be shown with `cargo report \ - future-incompatibilities -Z future-incompat-report --id {}`", + future-incompatibilities --id {}`", report_id ))); } else if should_display_message {