Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-exports do not work across crates #1115

Closed
brson opened this issue Nov 2, 2011 · 2 comments
Closed

Re-exports do not work across crates #1115

brson opened this issue Nov 2, 2011 · 2 comments

Comments

@brson
Copy link
Contributor

brson commented Nov 2, 2011

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.

@lht
Copy link
Contributor

lht commented Dec 7, 2011

The problem is view_items (view_item_export here) are not written to crate metadata. I'll try to fix this issue.

@ghost ghost assigned lht Dec 9, 2011
lht added a commit that referenced this issue Dec 16, 2011
First patch for issue #1115. Not yet ready for re-exported modules which
are renamed when importing them.
lht added a commit that referenced this issue Dec 20, 2011
lht added a commit that referenced this issue Dec 20, 2011
@lht
Copy link
Contributor

lht commented Dec 20, 2011

Closed by commits 9bb290c, bd30063 and 5e3ffb6

@lht lht closed this as completed Dec 20, 2011
@brson brson unassigned lht Jun 16, 2014
bjorn3 added a commit to bjorn3/rust that referenced this issue Jun 15, 2023
coastalwhite pushed a commit to coastalwhite/rust that referenced this issue Aug 5, 2023
This breaks when core_arch is included as a module in core.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants