Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core: Fail with a better error message when list_dir gets an empty path #6687

Merged
merged 2 commits into from
May 26, 2013

Conversation

catamorphism
Copy link
Contributor

r? @brson (Yes, this did happen in real life...)

@graydon
Copy link
Contributor

graydon commented May 22, 2013

What does this do for listing / or c:\ ? Those have empty components.

@catamorphism
Copy link
Contributor Author

Hmm, really? Ok, I'll add a test for the root directory (to make sure the contents are non-empty, at least).

@catamorphism
Copy link
Contributor Author

Addressed @graydon 's question. r? @graydon or @brson (or anyone else)

bors added a commit that referenced this pull request May 26, 2013
@bors bors closed this May 26, 2013
@bors bors merged commit a243ea3 into rust-lang:incoming May 26, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Feb 11, 2021
Stabilize workspace wrapper.

This fixes it so that `cargo clippy` doesn't share the same cache artifacts as `cargo check`. The Cargo side was stabilized a while ago (rust-lang/cargo#8976), so this should be ready to go. I'm not aware of any blockers or concerns.

Closes rust-lang#4612

---

changelog: `cargo clippy` no longer shares the same build cache as `cargo check`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants