Skip to content

More bars #10568

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

Merged
merged 4 commits into from
Nov 19, 2013
Merged

More bars #10568

merged 4 commits into from
Nov 19, 2013

Conversation

pcwalton
Copy link
Contributor

@bors bors closed this Nov 19, 2013
@bors bors merged commit 7e3f201 into rust-lang:master Nov 19, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jul 31, 2023
…yxyas

New lint [`absolute_paths`]

Closes rust-lang#10568

Maybe we should make the max segments allowed a configuration option? I see quite a bit of 3-segment paths in clippy, and while I think only really `<mod/type>::<item>` or `<item>` should be (usually) used but anything above may be too widespread 😕

PS, despite this being "max segments allowed" it only lints if it's absolute, as is the point of the lint, e.g., `std::io::ErrorKind::etc` is linted but `io::ErrorKind::NotFound::etc` isn't

changelog: New lint [`absolute_paths`]
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