Rollup merge of #147604 - Kivooeo:tear-prev-pr, r=nnethercote

Some clippy cleanups in compiler

This extracts some of the changes from https://github.com/rust-lang/rust/pull/147591 that were worth preserving in my opinion

r? compiler
This commit is contained in:
Matthias Krüger 2025-10-12 19:07:48 +02:00 committed by GitHub
commit 3b1c58f672
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 23 additions and 26 deletions

View file

@ -197,7 +197,7 @@ fn main() {
// Include path contains host directory, replace it with target
if is_crossed && flag.starts_with("-I") {
cfg.flag(&flag.replace(&host, &target));
cfg.flag(flag.replace(&host, &target));
continue;
}