diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-02-15 18:30:56 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-02-15 18:42:44 +0530 |
| commit | 1b86ebe25751268aa39ef2ad5e2b0e650a6f0291 (patch) | |
| tree | 35f5e2c0b9ba4a12fc18d93a41363275cc9f9299 /src/rustllvm/RustWrapper.cpp | |
| parent | 0f66e314db851f711dc544ecd91d9b4ceb76b932 (diff) | |
| parent | b19fda0ceb820af57f00976951dba95a3c0419aa (diff) | |
| download | rust-1b86ebe25751268aa39ef2ad5e2b0e650a6f0291.tar.gz rust-1b86ebe25751268aa39ef2ad5e2b0e650a6f0291.zip | |
Rollup merge of #22299 - bluss:range-64-is-not-exact-size, r=alexcrichton
Fixes #22047 `Range<u64>` and `Range<i64>` may be longer than usize::MAX on 32-bit platforms, and thus they cannot fulfill the protocol for ExactSizeIterator. We don't want a nonobvious platform dependency in basic iterator traits, so the trait impl is removed. The logic of this change assumes that usize is at least 32-bit. This is technically a breaking change; note that `Range<usize>` and `Range<isize>` are always ExactSizeIterators. [breaking-change]
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
