Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir_ty/src/lower.rs')
-rw-r--r--crates/hir_ty/src/lower.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir_ty/src/lower.rs b/crates/hir_ty/src/lower.rs
index 81134f666b..373196969a 100644
--- a/crates/hir_ty/src/lower.rs
+++ b/crates/hir_ty/src/lower.rs
@@ -1046,7 +1046,7 @@ fn named_associated_type_shorthand_candidates<R>(
),
_ => None,
});
- if let res @ Some(_) = res {
+ if let Some(_) = res {
return res;
}
// Handle `Self::Type` referring to own associated type in trait definitions