Skip to content

Commit

Permalink
remove argument
Browse files Browse the repository at this point in the history
  • Loading branch information
Eh2406 committed Jan 9, 2025
1 parent a7b97af commit 5e9f721
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/cargo/core/resolver/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,7 @@ pub fn resolve(
let mut past_conflicting_activations = conflict_cache::ConflictCache::new();

let resolver_ctx = loop {
let resolver_ctx = ResolverContext::new();
let resolver_ctx = activate_deps_loop(
resolver_ctx,
&mut registry,
summaries,
first_version,
Expand Down Expand Up @@ -199,13 +197,13 @@ pub fn resolve(
/// If all dependencies can be activated and resolved to a version in the
/// dependency graph, `cx` is returned.
fn activate_deps_loop(
mut resolver_ctx: ResolverContext,
registry: &mut RegistryQueryer<'_>,
summaries: &[(Summary, ResolveOpts)],
first_version: Option<VersionOrdering>,
gctx: Option<&GlobalContext>,
past_conflicting_activations: &mut conflict_cache::ConflictCache,
) -> CargoResult<ResolverContext> {
let mut resolver_ctx = ResolverContext::new();
let mut backtrack_stack = Vec::new();
let mut remaining_deps = RemainingDeps::new();

Expand Down

0 comments on commit 5e9f721

Please sign in to comment.