about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2025-02-19 18:52:05 +0100
committerGitHub <noreply@github.com>2025-02-19 18:52:05 +0100
commite6406ad4dd75d5349226534e9210b40ca0e31c77 (patch)
treeb3978ada970a41124e8505238528ed98a661aebb /compiler/rustc_codegen_llvm/src/errors.rs
parent2c1e1bd2cb30e2d21fa6612eea92ab8f96b30dff (diff)
parent3ad847779ec12875a96c563dadb63493b28856c0 (diff)
downloadrust-e6406ad4dd75d5349226534e9210b40ca0e31c77.tar.gz
rust-e6406ad4dd75d5349226534e9210b40ca0e31c77.zip
Rollup merge of #136347 - allevo:patch-1, r=Amanieu
Add a bullet point to `std::fs::copy`

I needed to copy a file but I got the following error:
```
Os { code: 2, kind: NotFound, message: "No such file or directory" }
```
After read the documentation, I though the error was generated by the `from` parameter, forgetting the `to` part. Anyway, I got the error because the parent folder of `to` didn't exist.
Even if the documentation explicitly saying `but is not limited to just these cases`, I would like to add this case because I spent 3 hours around it.

This PR just wants to put a mention about it.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions