We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0978d16 commit b132190Copy full SHA for b132190
crates/hir-ty/src/diagnostics/expr.rs
@@ -160,7 +160,7 @@ impl ExprValidator {
160
});
161
}
162
163
- let receiver_ty = self.infer[receiver.clone()].strip_references().clone();
+ let receiver_ty = self.infer[*receiver].strip_references().clone();
164
checker.prev_receiver_ty = Some(receiver_ty);
165
166
0 commit comments