You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/doc/src/reference/resolver.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -507,7 +507,7 @@ resolver = "2"
507
507
-`"2"` ([`edition = "2021"`](manifest.md#the-edition-field) default): Introduces changes in [feature
508
508
unification](#features). See the [features chapter][features-2] for more
509
509
details.
510
-
-`"3"` (requires Rust 1.84+): Change the default for [`resolver.incompatible-rust-versions`] from `allow` to `fallback`
510
+
-`"3"` ([`edition = "2024"`](manifest.md#the-edition-field) default, requires Rust 1.84+): Change the default for [`resolver.incompatible-rust-versions`] from `allow` to `fallback`
511
511
512
512
The resolver is a global option that affects the entire workspace. The
513
513
`resolver` version in dependencies is ignored, only the value in the top-level
Copy file name to clipboardexpand all lines: src/doc/src/reference/unstable.md
+7-27
Original file line number
Diff line number
Diff line change
@@ -100,7 +100,6 @@ Each new feature described below should explain how to use it.
100
100
*[codegen-backend](#codegen-backend) --- Select the codegen backend used by rustc.
101
101
*[per-package-target](#per-package-target) --- Sets the `--target` to use for each individual package.
102
102
*[artifact dependencies](#artifact-dependencies) --- Allow build artifacts to be included into other build artifacts and build them for different targets.
103
-
*[Edition 2024](#edition-2024) — Adds support for the 2024 Edition.
104
103
*[Profile `trim-paths` option](#profile-trim-paths-option) --- Control the sanitization of file paths in build outputs.
105
104
*[`[lints.cargo]`](#lintscargo) --- Allows configuring lints for Cargo.
106
105
*[path bases](#path-bases) --- Named base directories for path dependencies.
@@ -1363,32 +1362,6 @@ Differences between `cargo run --manifest-path <path>` and `cargo <path>`
See the [build script documentation](build-scripts.md#rustc-check-cfg) for information
2015
1988
about specifying custom cfgs.
1989
+
1990
+
## Edition 2024
1991
+
1992
+
The 2024 edition has been stabilized in the 1.85 release.
1993
+
See the [`edition` field](manifest.md#the-edition-field) for more information on setting the edition.
1994
+
See [`cargo fix --edition`](../commands/cargo-fix.md) and [The Edition Guide](../../edition-guide/index.html) for more information on migrating existing projects.
0 commit comments