-
Notifications
You must be signed in to change notification settings - Fork 104
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
KnownLayout
violates private-in-public rules in some cases
#1292
Labels
Comments
34 tasks
Discussion in the rust-lang zulip here: https://rust-lang.zulipchat.com/#narrow/stream/213817-t-lang/topic/Relaxing.20priv-in-path.20error/near/439582018 |
This is a compiler bug, and is tracked by rust-lang/rust#45713 |
joshlf
added
the
blocking-next-release
This issue should be resolved before we release on crates.io
label
May 30, 2024
joshlf
added
blocking-next-release-publicization
and removed
blocking-next-release
This issue should be resolved before we release on crates.io
labels
Jul 1, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
In some cases,
#[derive(KnownLayout)]
generates code like this:This causes a private-in-public error:
This is probably a rustc bug.
The text was updated successfully, but these errors were encountered: