Skip to content

Tuple struct fields missing in documented signatures #13594

Closed
@SiegeLord

Description

@SiegeLord

E.g. a crate like this:

#![crate_type="lib"]
#![crate_id="test"]

pub struct A(int);
pub struct B(pub int);

Produces the following signatures:

pub struct A();
pub struct B();

I'd expect them to be something like:

pub struct A (
    // some fields omitted
);
pub struct B (int);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions