Skip to content

Commit 960c01f

Browse files
committed
Add not-null pointer patterns to pattern types
1 parent 6a0aa12 commit 960c01f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_utils/src/hir_utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1123,7 +1123,7 @@ impl<'a, 'tcx> SpanlessHash<'a, 'tcx> {
11231123
self.hash_ty_pat(variant);
11241124
}
11251125
},
1126-
TyPatKind::Err(_) => {},
1126+
TyPatKind::NotNull | TyPatKind::Err(_) => {},
11271127
}
11281128
}
11291129

0 commit comments

Comments
 (0)