Erroneous E0603, public field cannot be re-exported on beta/nightly #56247
Labels
A-visibility
Area: Visibility / privacy
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
I am seeing a regression in the following versions of
rustc
:rustc 1.32.0-nightly (6acbb5b65 2018-11-25)
rustc 1.31.0-beta.17 (1a4f1f398 2018-11-25)
I am trying to use the crate
resvg
which in turn relies onsvgdom
. The compiler fails to finish buildingsvgdom
(v0.13) with the following error:The struct definition which is being re-exported is indeed marked public, and has been since the initial commit of
svgdom
. However inparser/mod.rs
there is a public re-export of this type via glob which later seems to be shadowed by a private import.I'm reporting this since this crate compiles without error on my copy of the
stable
release train:rustc 1.30.1 (1433507eb 2018-11-07)
. I've created a minimal reproduction of the issue on the playground.Please let me know if I can provide any further details.
The text was updated successfully, but these errors were encountered: