Skip to content

Commit d52af62

Browse files
authored
Merge pull request rust-lang#4513 from rust-lang/rustup-2025-08-04
Automatic Rustup
2 parents cd12898 + 9e76174 commit d52af62

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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

tests/ui/match_str_case_mismatch.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ error: this `match` arm has a differing case than its expression
1818
LL | "~!@#$%^&*()-_=+Foo" => {},
1919
| ^^^^^^^^^^^^^^^^^^^^
2020
|
21-
help: consider changing the case of this arm to respect `to_ascii_lowercase` (notice the capitalization difference)
21+
help: consider changing the case of this arm to respect `to_ascii_lowercase` (notice the capitalization)
2222
|
2323
LL - "~!@#$%^&*()-_=+Foo" => {},
2424
LL + "~!@#$%^&*()-_=+foo" => {},

0 commit comments

Comments
 (0)