Skip to content

Re-exports do not work across crates #1115

Closed
@brson

Description

@brson

If I add std.rs with these contents

import option = hack::option;

export option;                                                                                                         

mod hack {
    import option = option::t;
    export option;
}

I can't access the std::option type from outside the crate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions