Allow unused mut in graph resolution conflicts (#7701)

This commit is contained in:
Liam 2024-09-26 10:17:43 +01:00 committed by GitHub
parent 0c801f8f4b
commit c8357b7bf2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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!(