Skip to content

missing_doc lint misses type aliases #19543

Closed
@tomjakubowski

Description

@tomjakubowski
#![deny(missing_docs)]

//! crate docs

pub type Foo = String;

fn main() {
}

Compiles without errors even though Foo is undocumented.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions