-
Notifications
You must be signed in to change notification settings - Fork 808
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
Add pub(crate) support #566
Conversation
Currently there are no extra tests - I'll see if I can add some. |
1 similar comment
hi! apparently the test cannot compile on current stable. IIRC that feature is still experimental, right? |
Aah I thought it was already stable. You are correct. Can I mark this PR as blocked by upstream until the syntax becomes stable? |
I've tested and it works on beta - not stable.. I think it was stabilized in 1.19, but maybe there are some changes in macros to support it in 1.20. Anyway, all tests pass in 1.20, so when that's released this should be mergeable. |
EDIT 1.20 is in beta. The reason this will not build with 1.19 is not because pub(restricted) is missing (it isn't), but because there are bugs in the macro code that are fixed in 1.20. |
Version 1.20 is out, so this should no longer be blocked. I need to trigger a ci reload. |
1172238
to
d384fba
Compare
I think there's an unstable 'vis' identifier, that would make all these variants unnecessary |
Tracking issue for Seems to be almost en route to stabilization. |
6c99077
to
e7ca818
Compare
Thank you! This is getting in nom at last :) |
Note that this PR doesn't actually use |
Adds pub(crate) support where pub support is present in
macros.rs
.