From c8357b7bf23b4ade3b98be74bd7a469c05e6ec02 Mon Sep 17 00:00:00 2001 From: Liam Date: Thu, 26 Sep 2024 10:17:43 +0100 Subject: [PATCH] Allow unused mut in graph resolution conflicts (#7701) --- crates/uv-resolver/src/resolution/graph.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/uv-resolver/src/resolution/graph.rs b/crates/uv-resolver/src/resolution/graph.rs index c54f0f030ad9..459cbf08cff8 100644 --- a/crates/uv-resolver/src/resolution/graph.rs +++ b/crates/uv-resolver/src/resolution/graph.rs @@ -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!(