Skip to content

Commit 10821b8

Browse files
committed
Auto merge of #144882 - Zalathar:rollup-i5q32em, r=Zalathar
Rollup of 2 pull requests Successful merges: - rust-lang/rust#144694 (Distinguish prepending and replacing self ty in predicates) - rust-lang/rust#144875 (Add some pre-codegen MIR tests for debug mode) r? `@ghost` `@rustbot` modify labels: rollup
2 parents 60694ab + d207a02 commit 10821b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/needless_borrows_for_generic_args.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ fn replace_types<'tcx>(
417417
{
418418
let projection = projection_predicate
419419
.projection_term
420-
.with_self_ty(cx.tcx, new_ty)
420+
.with_replaced_self_ty(cx.tcx, new_ty)
421421
.expect_ty(cx.tcx)
422422
.to_ty(cx.tcx);
423423

0 commit comments

Comments
 (0)