- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 817
Disallow variant field names to conflict with tag of internally-tagged enum #1170
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
Conversation
Could you add a test for it? |
Sure thing! |
@oli-obk Hey, could you help me with adding tests? I can't even run the test suite. I have latest nightly, but when I run
then basically every compile-time test fails, with errors such as
and
What am I missing? |
That's an unfortunate side effect of |
I've already tried cleaning; in fact, I've deleted and re- Just to be clear: I've set up my cargo config so that all
Am I correct that this is what should be done? Or could that be the source of the problem? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! This is terrific work.
I was experimenting with this anyway so I just copied my own experiments here as tests. For the future ./travis.sh
will run everything that we care about testing in CI. You should be able to grab commands out of there to run only the parts you want.
@dtolnay hey there! Thanks for the tests and the guidance. I'm glad you found this useful. 👍 |
Fixes #1161.