Skip to content

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

Merged
bors merged 2 commits intorust-lang:masterfrom
bkoropoff:issue-18425
Oct 31, 2014
Merged

Fix ICE translating array repeat expr of non-Copy type#18452
bors merged 2 commits intorust-lang:masterfrom
bkoropoff:issue-18425

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 #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];

2 participants