about summary refs log tree commit diff
diff options
context:
space:
mode:
authorlcnr <rust@lcnr.de>2023-09-21 08:44:12 +0200
committerlcnr <rust@lcnr.de>2023-09-21 08:44:12 +0200
commit8167a25e4e64920e3b02e6ed2342e5b6abc25e95 (patch)
tree878a501b75b5c4ce6b69f68f861f1a1111b6b83d
parent8e139eefaf276108c56fda1ec0c7fb972ce8df0c (diff)
downloadrust-8167a25e4e64920e3b02e6ed2342e5b6abc25e95.tar.gz
rust-8167a25e4e64920e3b02e6ed2342e5b6abc25e95.zip
w
-rw-r--r--compiler/rustc_trait_selection/src/solve/inspect/analyse.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_trait_selection/src/solve/inspect/analyse.rs b/compiler/rustc_trait_selection/src/solve/inspect/analyse.rs
index e4fc8803e0f..15c8d9e5bcb 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,