rust-lang / rust-lang/rustwide
Give a better error message when a directory cannot be removed
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 198
- Forks
- 45
- Avg merge
- 18h 46m
- Merged PRs (30d)
- 7
Description
Right now, rustwide just says 'Permission denied' which isn't very helpful. It should say something like 'failed to remove directory 'xxxx': Permission denied'
Originally posted by @jyn514 in https://github.com/rust-lang/crater/pull/543#issuecomment-688285596
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the rustwide code that removes directories and handles the “Permission denied” error. Check the existing error-handling tests, if present, and make the failure identify the directory while preserving the underlying error message.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100