fix(msrv): Don't require -Zmsrv-policy for resolver=3

We still have `edition2024` guarding this.

Dealing with two feature flags to control behavior is messy.  We just
need to make sure both get stabilized :).
This commit is contained in:
Ed Page 2024-04-22 10:45:19 -05:00
parent d29ad6788a
commit 706f8a71c8
1 changed files with 0 additions and 3 deletions

View File

@ -310,9 +310,6 @@ impl<'gctx> Workspace<'gctx> {
ResolveBehavior::V1 | ResolveBehavior::V2 => {}
ResolveBehavior::V3 => {
if self.resolve_behavior == ResolveBehavior::V3 {
if !self.gctx().cli_unstable().msrv_policy {
anyhow::bail!("`resolver=\"3\"` requires `-Zmsrv-policy`");
}
self.resolve_honors_rust_version = true;
}
}