Skip to content

Fix ICE translating array repeat expr of non-Copy type #18452

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 2 commits into from
Oct 31, 2014

Conversation

bkoropoff
Copy link
Contributor

Closes #18425

The type checker permits an array repeat expression of non-Copy
type if the count is 1, but trans asserts on it prior to this
change.

Closes rust-lang#18425
alexcrichton added a commit to alexcrichton/rust that referenced this pull request Oct 31, 2014
@bors bors merged commit 88c8a54 into rust-lang:master Oct 31, 2014
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.

ICE on let _ = [box 0u, ..1];
3 participants