Skip to content

Commit 51283b8

Browse files
ericswparkepage
andauthored
Update with suggestion from @epage
Co-authored-by: Ed Page <[email protected]>
1 parent 4a513e6 commit 51283b8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/doc/src/reference/rust-version.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,10 @@ identifiers such as -nightly will be ignored while checking the Rust version.
1919

2020
**Diagnostics:**
2121

22-
When your package is compiled on an unsupported toolchain, Cargo will provide
23-
clearer diagnostics about the insufficient toolchain version by always erroring
24-
during compilation, rather than reporting invalid syntax or missing functionality
22+
When your package is compiled on an unsupported toolchain, Cargo will report that as an error to the user. This makes the support expectations clear and avoids reporting a less direct diagnostic like invalid syntax or missing functionality
2523
in the standard library. This affects all [Cargo targets](cargo-targets.md) in the
2624
package, including binaries, examples, test suites, benchmarks, etc.
25+
A user can opt-in to an unsupported build of a package with the `--ignore-rust-version` flag.
2726

2827

2928
**Development aid:**

0 commit comments

Comments
 (0)