Skip to content

'pub use' does something different than 'export', can't be used cross-crate sometimes #3489

Closed
@graydon

Description

@graydon

The following minimal case can't be used from another crate:

use a::foo;
pub use foo;

mod a {
    type foo = int;
}

If I change the pub use to export it works. So something about the way the exports get written is different. This is blocking #2006.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions