diff options
| author | bors <bors@rust-lang.org> | 2023-11-25 11:08:37 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-11-25 11:08:37 +0000 |
| commit | 3668a8af1b81447c4afa1f82f60d7b94b71a549f (patch) | |
| tree | b2e48e872b1a25d163c585af10368d6b1f008450 /compiler/rustc_codegen_cranelift/scripts | |
| parent | fad6bb80fa89100e839ea7cbb4e9999188c0ac0d (diff) | |
| parent | 20d243e854e800cd273524de81cd1ab97f7f4d50 (diff) | |
Auto merge of #118277 - fmease:rollup-itucldm, r=fmease
Rollup of 9 pull requests Successful merges: - #118220 (general improvements/fixes on bootstrap) - #118251 (rustdoc-search: avoid infinite where clause unbox) - #118253 (Replace `option.map(cond) == Some(true)` with `option.is_some_and(cond)`) - #118255 (Request that rust-analyzer changes are sent upstream first if possible) - #118259 (Move EagerResolution to rustc_infer::infer::resolve) - #118262 (Relate Inherent Associated Types using eq) - #118266 (Move stuff around on `stable_mir` and `rustc_smir` crate) - #118271 (Separate `NaN`/`Inf` floats with `_`) - #118274 (Fix smir's `Ty::Ref` pretty printing) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_codegen_cranelift/scripts')
| -rw-r--r-- | compiler/rustc_codegen_cranelift/scripts/rustc-clif.rs | 2 | ||||
| -rw-r--r-- | compiler/rustc_codegen_cranelift/scripts/rustdoc-clif.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_cranelift/scripts/rustc-clif.rs b/compiler/rustc_codegen_cranelift/scripts/rustc-clif.rs index 33d51bdddea..550f2051553 100644 --- a/compiler/rustc_codegen_cranelift/scripts/rustc-clif.rs +++ b/compiler/rustc_codegen_cranelift/scripts/rustc-clif.rs @@ -27,7 +27,7 @@ fn main() { args.push(codegen_backend_arg); } if !passed_args.iter().any(|arg| { - arg == "--sysroot" || arg.to_str().map(|s| s.starts_with("--sysroot=")) == Some(true) + arg == "--sysroot" || arg.to_str().is_some_and(|s| s.starts_with("--sysroot=")) }) { args.push(OsString::from("--sysroot")); args.push(OsString::from(sysroot.to_str().unwrap())); diff --git a/compiler/rustc_codegen_cranelift/scripts/rustdoc-clif.rs b/compiler/rustc_codegen_cranelift/scripts/rustdoc-clif.rs index 10582cc7bb3..f7d1bdbc4c6 100644 --- a/compiler/rustc_codegen_cranelift/scripts/rustdoc-clif.rs +++ b/compiler/rustc_codegen_cranelift/scripts/rustdoc-clif.rs @@ -27,7 +27,7 @@ fn main() { args.push(codegen_backend_arg); } if !passed_args.iter().any(|arg| { - arg == "--sysroot" || arg.to_str().map(|s| s.starts_with("--sysroot=")) == Some(true) + arg == "--sysroot" || arg.to_str().is_some_and(|s| s.starts_with("--sysroot=")) }) { args.push(OsString::from("--sysroot")); args.push(OsString::from(sysroot.to_str().unwrap())); |
