Skip to content

Disallow parsing of struct variants with 0 fields #19018

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

Merged
merged 1 commit into from
Nov 18, 2014

Conversation

tomjakubowski
Copy link
Contributor

Make struct variant syntax more consistent with struct syntax and fix an
assert in middle::typeck.

Fix #19003

Make struct variant syntax more consistent with struct syntax and fix an
assert in middle::typeck.

Fix rust-lang#19003
@bors bors merged commit 8000482 into rust-lang:master Nov 18, 2014
lnicola pushed a commit to lnicola/rust that referenced this pull request Jan 27, 2025
internal: Record the use tree index in glob imports
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

'assertion failed: fields.len() > 0' ICE with struct variants
2 participants