-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
'pub use' does something different than 'export', can't be used cross-crate sometimes #3489
Comments
I had always envisioned this being written |
No, same result. |
Note that this only happens cross-crate. Inside a single file everything's ok:
|
This looked simple but is vexingly complicated. Adding |
Reassigning to @graydon since my understanding is that he mostly fixed it. |
This is fixed now. |
…atthiaskrgr single_match_else - single expr/stmt else block corner case One approach to fix rust-lang#3489. See discussion in the issue. changelog: single_match_else - single expr/stmt else block corner case fix
The following minimal case can't be used from another crate:
If I change the
pub use
toexport
it works. So something about the way the exports get written is different. This is blocking #2006.The text was updated successfully, but these errors were encountered: