From 8167a25e4e64920e3b02e6ed2342e5b6abc25e95 Mon Sep 17 00:00:00 2001 From: lcnr Date: Thu, 21 Sep 2023 08:44:12 +0200 Subject: [PATCH] w --- compiler/rustc_trait_selection/src/solve/inspect/analyse.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_trait_selection/src/solve/inspect/analyse.rs b/compiler/rustc_trait_selection/src/solve/inspect/analyse.rs index e4fc8803e0f5b..15c8d9e5bcb02 100644 --- a/compiler/rustc_trait_selection/src/solve/inspect/analyse.rs +++ b/compiler/rustc_trait_selection/src/solve/inspect/analyse.rs @@ -143,7 +143,7 @@ impl<'a, 'tcx> InspectGoal<'a, 'tcx> { // FIXME: This is currently wrong if we don't even try any // candidates, e.g. for a trait goal, as in this case `candidates` is // actually supposed to be empty. - inspect::ProbeKind::Root { result: _ } => { + inspect::ProbeKind::Root { result } => { if candidates.is_empty() { candidates.push(InspectCandidate { goal: self,