-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Subcrate's privates leak, and then cause linker errors #1690
Comments
|
I believe this is a dupe of rust-lang/rust#16734, so closing in favor of that. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm getting a parent crate to "accidentally" use private functions from a sub-crate private module. The compile succeeds, but then the link fails!
main.rs:
bar/mod.rs
bar/priv_bar.rs:
If
bar/priv_bar.rs
is inlined intobar/mod.rs
, this doesn't happen; the correct error message is printed.The text was updated successfully, but these errors were encountered: