Skip to content

Commit a9a7ce5

Browse files
committed
remove AliasTerm::kind() method
1 parent e8fdfcc commit a9a7ce5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

clippy_lints/src/needless_borrows_for_generic_args.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ fn replace_types<'tcx>(
433433
let projection = projection_predicate
434434
.projection_term
435435
.with_replaced_self_ty(cx.tcx, new_ty)
436-
.expect_ty(cx.tcx)
436+
.expect_ty()
437437
.to_ty(cx.tcx);
438438

439439
if let Ok(projected_ty) = cx

0 commit comments

Comments
 (0)