rust/library/std
Matthias Krüger d6298d3736
Rollup merge of #129907 - saethlin:solid-io-error, r=WaffleLapkin
Fix compile error in solid's remove_dir_all

Before this PR, `x check library/std --target=aarch64-kmc-solid_asp3` will fail with:
```
error[E0382]: use of partially moved value: `result`
   --> std/src/sys/pal/solid/fs.rs:544:20
    |
541 |         if let Err(err) = result
    |                    --- value partially moved here
...
544 |             return result;
    |                    ^^^^^^ value used here after partial move
    |
    = note: partial move occurs because value has type `io::error::Error`, which does not implement the `Copy` trait
help: borrow this binding in the pattern to avoid moving the value
    |
541 |         if let Err(ref err) = result
    |                    +++

```

cc `@kawadakk` I think this will clear up https://solid-rs.github.io/toolstate/ :)
2024-09-02 22:35:23 +02:00
..
benches Reformat use declarations. 2024-07-29 08:26:52 +10:00
src Rollup merge of #129907 - saethlin:solid-io-error, r=WaffleLapkin 2024-09-02 22:35:23 +02:00
tests rustc_target: Add SME aarch64 features 2024-08-27 11:11:47 +01:00
build.rs Fixed some typos in the standard library documentation/comments 2024-08-31 14:41:01 +09:00
Cargo.toml Auto merge of #127897 - nyurik:add-qnx-70-target, r=saethlin 2024-09-01 08:00:25 +00:00