about summary refs log tree commit diff
path: root/src/test/ui/iterators/skip-count-overflow.rs
AgeCommit message (Collapse)AuthorLines
2020-06-10Migrate to numeric associated constsLzu Tao-1/+1
2020-01-22Avoid overflow in `std::iter::Skip::count`Oliver Middleton-0/+8
The call to `count` on the inner iterator can overflow even if `Skip` itself would return less that `usize::max_value()` items.