Skip to content

Update version for doc_include_without_cfg #14138

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

Conversation

alex-semenyuk
Copy link
Member

This lint was merged recently #13711 and should go with the next version 1.86.0 https://github.com/rust-lang/rust-clippy/tags

changelog: none

@rustbot
Copy link
Collaborator

rustbot commented Feb 2, 2025

r? @Alexendoo

rustbot has assigned @Alexendoo.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Feb 2, 2025
Copy link
Contributor

@lapla-cogito lapla-cogito left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that doc_include_without_cfg exists in Rust 1.85.0:

$ rustc -vV
rustc 1.85.0-beta.7 (0277061b9 2025-02-01)
binary: rustc
commit-hash: 0277061b9a4096437b9b35f471c915e1cbe3128f
commit-date: 2025-02-01
host: x86_64-unknown-linux-gnu
release: 1.85.0-beta.7
LLVM version: 19.1.7

$ cargo clippy --explain doc_include_without_cfg
### What it does
Checks if included files in doc comments are included only for `cfg(doc)`.
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants