Skip to content

Allow structures that wraps tuples #14

@samsa1

Description

@samsa1

Currently structures to wrap a tuple are not allowed :

For exemple :

struct MyNum(usize)


fn main() {
     let x = MyNum(3);
     
     let y = x.0;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions