mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 22:54:58 +00:00
clippy::redundant_field_names
This commit is contained in:
parent
b857a5dcf0
commit
aabd41cafc
6 changed files with 7 additions and 7 deletions
|
@ -275,7 +275,7 @@ impl<'a> InferenceContext<'a> {
|
|||
if !self.unify(&ty, &expected) {
|
||||
self.result
|
||||
.type_mismatches
|
||||
.insert(pat.into(), TypeMismatch { expected: expected, actual: ty.clone() });
|
||||
.insert(pat.into(), TypeMismatch { expected, actual: ty.clone() });
|
||||
}
|
||||
self.write_pat_ty(pat, ty.clone());
|
||||
ty
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue