Skip to content

missing_docs not triggered when missing docs on trait alias #111025

Closed
@zopsicle

Description

@zopsicle

I tried this code:

//! example
#![feature(trait_alias)]
#![warn(missing_docs)]
pub trait T = Send;

I expected to see this happen: “missing documentation for a trait alias” diagnostic

Instead, this happened: no diagnostic

Meta

Using 1.71.0-nightly 2023-04-29 87b1f89.

Metadata

Metadata

Assignees

Labels

A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.C-bugCategory: This is a bug.T-rustdocRelevant to the rustdoc 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