You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To me, this looks like an issue with the way named! parses function names. It's probably not capable of handling pub(crate). However, since you're on 1.28 nightly, I think you can instead use the 'crate' access modifier - it's equivalent.
Perhaps Geal has more insight, however.
kodawah
pushed a commit
to hedgewars/hw
that referenced
this issue
Jul 2, 2018
Prerequisites
Here are a few things you should provide to help me understand the issue:
rustc -V
: rustc 1.28.0-nightly (cd494c1f0 2018-06-27)Test case
This is the initial code. It triggers the rustc warning about
unreachable-pub
items.nom-incompat.zip
The compiler suggests to restrict its visibility, by using
pub(crate)
. After changing the lineto
The example doesn't build anymore
The text was updated successfully, but these errors were encountered: