Skip to content

Unresolved import error on struct vs unite-like struct #27695

Closed
@malbarbo

Description

@malbarbo
pub use m::A;

mod m {
    use super::*;
    pub struct A;
    //pub struct A {
    //    a: bool
    //}
}

The code compile with first definition of A, but not the second.

This may be related to #26873.

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