about summary refs log tree commit diff
path: root/src/test/ui/iterators
AgeCommit message (Collapse)AuthorLines
2020-04-26test iterator chain type length blowupBastian Kauschke-0/+31
2020-04-11rustc: Add a warning count upon completionRoccoDev-0/+2
2020-04-08Small tweaks to required bound spanEsteban Küber-1/+1
2020-04-08Use `PredicateObligation`s instead of `Predicate`sEsteban Küber-1/+1
Keep more information about trait binding failures.
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.
2019-12-24Generalize `array_into_iter` lint to also lint for boxed arraysLukas Kalbertodt-0/+122
`Box` is special in that a method call on a box can move the value out of the box. Thus, the same backwards-compatibility problem can arise for boxed arrays as for simple arrays.
2019-11-06Add UI test for `array.into_iter()` lintLukas Kalbertodt-0/+103
2019-10-25Re-enable Emscripten's exception handling supportThomas Lively-5/+5
Passes LLVM codegen and Emscripten link-time flags for exception handling if and only if the panic strategy is `unwind`. Sets the default panic strategy for Emscripten targets to `unwind`. Re-enables tests that depend on unwinding support for Emscripten, including `should_panic` tests.
2019-10-16Upgrade Emscripten targets to use upstream LLVM backendThomas Lively-5/+5
- Compatible with Emscripten 1.38.46-upstream or later upstream. - Refactors the Emscripten target spec to share code with other wasm targets. - Replaces the old incorrect wasm32 C call ABI with the correct one, preserving the old one as wasm32_bindgen_compat for wasm-bindgen compatibility. - Updates the varargs ABI used by Emscripten and deletes the old one. - Removes the obsolete wasm32-experimental-emscripten target. - Uses EMCC_CFLAGS on CI to avoid the timeout problems with #63649.
2019-10-05Revert "Auto merge of #63649 - tlively:emscripten-upstream-upgrade, ↵Tyler Mandry-5/+5
r=alexcrichton" This reverts commit 7870050796e5904a0fc85ecbe6fa6dde1cfe0c91, reversing changes made to 2e7244807a7878f6eca3eb7d97ae9b413aa49014.
2019-10-04Upgrade Emscripten targets to use upstream LLVM backendThomas Lively-5/+5
- Refactors the Emscripten target spec to share code with other wasm targets. - Replaces the incorrect wasm32 C call ABI with the old asmjs version, which is correct for both wasm32 and JS. - Updates the varargs ABI used by Emscripten and deletes the old one. - Removes the obsolete wasm32-experimental-emscripten target. - Temporarily makes Emscripten targets use panic=abort by default because supporting unwinding will require an LLVM patch.
2019-08-31Use span label instead of note for cause in E0631Esteban Küber-5/+2
2019-08-12Force optimization in 32-bit iter overflow testsJosh Stone-4/+4
2019-08-12Move run-pass/iterators/* to ui/iterators/Josh Stone-0/+100
2019-07-27tests: Move run-pass tests without naming conflicts to uiVadim Petrochenkov-0/+270
2018-12-17Fix grammar in compiler error for array iteratorsMatthew Russell-4/+4
2018-12-04Update testsOliver Scherer-10/+23
2018-10-11Reword Range*/[Range*]: Iterator E0277 messagesEsteban Küber-4/+91
2018-10-11review commentsEsteban Küber-15/+15
- reword messages - apply custom comments to all types of ranges - fix indentation
2018-10-09Add tests for handled casesEsteban Küber-0/+286