-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Visibility of struct-like enums across crates seems to fail #5557
Labels
A-resolve
Area: Name resolution
Comments
nominating production ready |
accepted for production-ready milestone |
Visiting for triage (and first one I've gotten a second time!). Added some labels, but nothing else to add. Here's a smaller and complete test case: 5557lib.rs:
5557bin.rs
and this produces:
|
bors
added a commit
that referenced
this issue
Sep 11, 2013
Fixes issues #5557 and #8746. This patch adds an additional family for struct-like variants, and encodes some struct-like aspects of such variants that can then be properly decoded by resolve. Note that I am not 100% sure how this fix works, but it fixes the issue without breaking any of the tests on my machine.
Closed by #9064 |
This was referenced Sep 30, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have the following Enum defined within a crate:
When I try to use the crate I cannot match KeyEvent. rustc complains about KeyEvent not name a structure.
Relevant information:
The text was updated successfully, but these errors were encountered: