We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8e816b commit b7b3874Copy full SHA for b7b3874
src/cargo/ops/resolve.rs
@@ -304,7 +304,8 @@ pub fn resolve_with_previous<'gctx>(
304
version_prefs.version_ordering(VersionOrdering::MinimumVersionsFirst)
305
}
306
if ws.resolve_honors_rust_version() {
307
- version_prefs.max_rust_version(ws.rust_version().cloned().map(RustVersion::into_partial));
+ let rust_version = ws.rust_version().cloned().map(RustVersion::into_partial);
308
+ version_prefs.max_rust_version(rust_version);
309
310
311
let avoid_patch_ids = if register_patches {
0 commit comments