diff options
| author | Petr Hosek <phosek@google.com> | 2019-06-09 16:57:17 -0700 |
|---|---|---|
| committer | Petr Hosek <phosek@google.com> | 2019-06-09 16:57:17 -0700 |
| commit | 449db68910570dea654304d4e6cf48b1e75d5043 (patch) | |
| tree | 74bc7d85e028ddbcc125d7ce3d986d585bec0188 /src/test/ui/thinlto | |
| parent | 8b36867093fb774bcbd9f787cbc470a5f44c1310 (diff) | |
| download | rust-449db68910570dea654304d4e6cf48b1e75d5043.tar.gz rust-449db68910570dea654304d4e6cf48b1e75d5043.zip | |
Use Build::read_dir instead of fs::read_dir in Build::cp_r
Build::read_dir does better error handling when the directory doesn't exist; it actually prints the name of the directory rather than just printing the underlying error "No such file or directory" which on its own isn't very useful.
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions
