Skip to content

warn(missing_docs) doesn't trigger on extern declarations #76991

Closed
@Lokathor

Description

@Lokathor

playground example

It seems like this lint should fire if you have an extern declaration without docs on it.

Metadata

Metadata

Assignees

Labels

A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.C-bugCategory: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions