Skip to content

Can't pub use as a module defined in the current module #5950

Closed
@brson

Description

@brson
pub use local_alias = local;

mod local { }

fn main() {}
error: failed to resolve imports
test.rs:1:8: 1:14 error: unresolved import
test.rs:1 pub use local_alias = local;
                  ^~~~~~
error: aborting due to 2 previous errors

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions