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

missing doc lint doesn't check crate doc #10656

Closed
klutzy opened this issue Nov 25, 2013 · 0 comments
Closed

missing doc lint doesn't check crate doc #10656

klutzy opened this issue Nov 25, 2013 · 0 comments

Comments

@klutzy
Copy link
Contributor

klutzy commented Nov 25, 2013

#[deny(missing_doc)];
#[crate_type="lib"];

It would be better if rustc prints "missing document for crate".

bors added a commit that referenced this issue Dec 6, 2013
Because the root module isn't actually an item, we need to do some hackish
handling of it.

Closes #10656.
flip1995 pushed a commit to flip1995/rust that referenced this issue May 5, 2023
Add configuration for `semicolon_block` lints

Does exactly what it says on the tin, suggests moving a block's final semicolon inside if it's multiline and outside if it's singleline.

I don't really like how this is implemented so I'm not too sure if this is ready yet. Alas, it might be ok.

---

fixes rust-lang#10654

changelog: Enhancement: [`semicolon_inside_block`]: Added `semicolon-inside-block-ignore-singleline` as a new config value.
[rust-lang#10656](rust-lang/rust-clippy#10656)
changelog: Enhancement: [`semicolon_outside_block`]: Added `semicolon-outside-block-ignore-multiline` as a new config value.
[rust-lang#10656](rust-lang/rust-clippy#10656)
<!-- changelog_checked -->
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 a pull request may close this issue.

1 participant