Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upGenerated code triggers private_in_public future compatibility warnings. #435
Comments
dtolnay
added
the
derive
label
Jul 11, 2016
dtolnay
self-assigned this
Jul 11, 2016
dtolnay
added this to the v0.8.0 milestone
Jul 20, 2016
dtolnay
closed this
in
#456
Jul 22, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
eddyb commentedJul 11, 2016
If a private field of a public type contains a private type, the generated bounds result in warnings such as (example from Servo):
See rust-lang/rfcs#1671 (comment) for more on the possible future of private types in bounds (i.e. no action may be necessary in the future if that RFC gets through).