fix(ref): Nightly publish with auto should warn

This commit is contained in:
Ed Page 2024-01-23 15:07:46 -06:00
parent 6b06734f6f
commit 505224ad66
1 changed files with 1 additions and 1 deletions

View File

@ -516,7 +516,7 @@ Users may pass
We will add `"auto"` for `package.rust-version`.
On `cargo publish` / `cargo package`, the generated `*.crate`s `Cargo.toml` will have `"auto"` replaced with `rustc --version`.
If `rustc --version` is a pre-release, it will be left as unspecified.
If `rustc --version` is a pre-release, it will be left as unspecified with a warning.
`cargo new` will include `package.rust-version = "auto"`.