Skip to content

error: unknown doc attribute hide #6832

Closed
@cquintana-verbio

Description

@cquintana-verbio

We've encountered a possible regression on the latest nightly in our CI pipelines. Clippy does not recognize the pattern #[doc(hide)], such as this one: https://github.com/kubo/rust-oracle/blob/master/src/connection.rs#L854

In the currently stable version, clippy is able to proceed.

I expected to see this happen: Clippy is able to check the code.

Instead, this happened: Clippy compains with:

error: unknown `doc` attribute `hide`

Meta

λ cargo +nightly clippy -V  
clippy 0.1.52 (35dbef2 2021-03-02)

λ rustc -Vv
rustc 1.52.0-nightly (35dbef235 2021-03-02)
binary: rustc
commit-hash: 35dbef235048f9a2939dc20effe083ca483c37ff
commit-date: 2021-03-02
host: x86_64-unknown-linux-gnu
release: 1.52.0-nightly
LLVM version: 11.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: Clippy is not doing the correct thing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions