Skip to content

Commit

Permalink
Allow unused mut in graph resolution conflicts (#7701)
Browse files Browse the repository at this point in the history
  • Loading branch information
lfn3 authored Sep 26, 2024
1 parent 0c801f8 commit c8357b7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/uv-resolver/src/resolution/graph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,8 @@ impl ResolutionGraph {
options,
fork_markers,
};

#[allow(unused_mut, reason = "Used in debug_assertions below")]
let mut conflicting = graph.find_conflicting_distributions();
if !conflicting.is_empty() {
tracing::warn!(
Expand Down

0 comments on commit c8357b7

Please sign in to comment.