Commit 578fcde
committed
Special case ZST's in Rvalue::Repeat
Fixes rust-lang#1146 by preventing a hang for [(); usize::MAX], which is used in
a test of libcore.1 parent 6b58ed2 commit 578fcde
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
660 | 660 | | |
661 | 661 | | |
662 | 662 | | |
663 | | - | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
664 | 666 | | |
665 | 667 | | |
666 | 668 | | |
| |||
0 commit comments