Skip to content
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

Disallow negative counts in repeat expressions #6985

Merged
merged 1 commit into from
Jun 7, 2013

Conversation

Aatch
Copy link
Contributor

@Aatch Aatch commented Jun 7, 2013

This fixes #6977. Negative counts don't make sense anyway.

@luqmana
Copy link
Member

luqmana commented Jun 7, 2013

Should probably also check at middle/typeck/astconv.rs:462

@Aatch
Copy link
Contributor Author

Aatch commented Jun 7, 2013

@luqmana good catch. I missed that.

bors added a commit that referenced this pull request Jun 7, 2013
This fixes #6977. Negative counts don't make sense anyway.
@bors bors closed this Jun 7, 2013
@bors bors merged commit de27064 into rust-lang:incoming Jun 7, 2013
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.

4 participants