Skip to content

Commit 7ec0c2f

Browse files
authored
Rollup merge of #95047 - TaKO8Ki:remove-unnecessary-pattern-for-ignoring-all-parts, r=wesleywiser
Refactor: remove an unnecessary pattern for ignoring all parts
2 parents 588d389 + 30fbcdb commit 7ec0c2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_resolve/src/late.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1129,7 +1129,7 @@ impl<'a: 'ast, 'b, 'ast> LateResolutionVisitor<'a, 'b, 'ast> {
11291129
}
11301130

11311131
for param in &generics.params {
1132-
if let GenericParamKind::Lifetime { .. } = param.kind {
1132+
if let GenericParamKind::Lifetime = param.kind {
11331133
continue;
11341134
}
11351135

0 commit comments

Comments
 (0)