| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2016-09-21 | Workaround #34427 by using memset of 0 on ARM to set the discriminant. | Felix S. Klock II | -0/+26 | |
| Conflicts: src/librustc_trans/adt.rs | ||||
| 2016-09-21 | add missing test | Niko Matsakis | -0/+28 | |
| 2016-09-21 | use `adt::trans_const` when translating constant closures and tuples | Ariel Ben-Yehuda | -0/+25 | |
| Fixes #36401 | ||||
| 2016-09-19 | Remove data structure specialization for .zip() iterator | Ulrik Sverdrup | -0/+17 | |
| Go back on half the specialization, the part that changed the Zip struct's fields themselves depending on the types of the iterators. This means that the Zip iterator will always carry two usize fields, which are unused. If a whole for loop using a .zip() iterator is inlined, these are simply removed and have no effect. The same improvement for Zip of for example slice iterators remain, and they still optimize well. However, like when the specialization of zip was merged, the compiler is still very sensistive to the exact context. For example this code only autovectorizes if the function is used, not if the code in zip_sum_i32 is inserted inline it was called: ``` fn zip_sum_i32(xs: &[i32], ys: &[i32]) -> i32 { let mut s = 0; for (&x, &y) in xs.iter().zip(ys) { s += x * y; } s } fn zipdot_i32_default_zip(b: &mut test::Bencher) { let xs = vec![1; 1024]; let ys = vec![1; 1024]; b.iter(|| { zip_sum_i32(&xs, &ys) }) } ``` Include a test that checks that Zip<T, U> is covariant w.r.t. T and U. | ||||
| 2016-09-19 | Up the LLVM | Simonas Kazlauskas | -0/+40 | |
| Fixes #36474 | ||||
| 2016-09-16 | Fix issue #36036. | Felix S. Klock II | -0/+36 | |
| We were treating an associated type as unsized even when the concrete instantiation was actually sized. Fix is to normalize before checking if it is sized. | ||||
| 2016-09-12 | llvm: backport "[SimplifyCFG] Hoisting invalidates metadata". | Eduard Burtescu | -0/+32 | |
| 2016-09-12 | rustc_trans: do not generate allocas for unused locals. | Eduard Burtescu | -0/+18 | |
| 2016-09-12 | typeck: use NoExpectation to check return type of diverging fn | Alex Burka | -0/+18 | |
| This fixes #35849, a regression introduced by the typeck refactoring around TyNever/!. | ||||
| 2016-08-22 | Properly invalidate the early exit cache | Simonas Kazlauskas | -0/+37 | |
| Fixes #35737 | ||||
| 2016-08-16 | Auto merge of #35162 - canndrew:bang_type_coerced, r=nikomatsakis | bors | -5/+112 | |
| Implement the `!` type This implements the never type (`!`) and hides it behind the feature gate `#[feature(never_type)]`. With the feature gate off, things should build as normal (although some error messages may be different). With the gate on, `!` is usable as a type and diverging type variables (ie. types that are unconstrained by anything in the code) will default to `!` instead of `()`. | ||||
| 2016-08-14 | Rollup merge of #35648 - ahmedcharles:pred, r=alexcrichton | Eduard-Mihai Burtescu | -18/+0 | |
| Predicates haven't existed in almost 5 years. This test probably adds negative value other than historical amusement. | ||||
| 2016-08-14 | Rollup merge of #35647 - ahmedcharles:spelling, r=alexcrichton | Eduard-Mihai Burtescu | -22/+22 | |
| Ensure that attributes are spelled properly. | ||||
| 2016-08-14 | Rollup merge of #35574 - badboy:emscripten-test-fixes, r=brson | Eduard-Mihai Burtescu | -3/+54 | |
| Emscripten test fixes This picks up parts of #31623 to disable certain tests that emscripten can't run, as threads/processes are not supported. I re-applied @tomaka's changes manually, I can rebase those commits with his credentials if he wants. It also disables jemalloc for emscripten (at least in Rustbuild, I have to check if there is another setting for the same thing in the old makefile approach). This should not impact anything for normal builds. | ||||
| 2016-08-14 | Rollup merge of #35533 - frewsxcv:22984, r=brson | Eduard-Mihai Burtescu | -0/+13 | |
| Add regression test for #22894. None | ||||
| 2016-08-14 | Auto merge of #34206 - petrochenkov:pipdeny, r=nikomatsakis | bors | -1/+1 | |
| Make `private_in_public` compatibility lint deny-by-default In accordance with the [plan](https://internals.rust-lang.org/t/fcp-for-various-future-compatibility-warnings/3590/5?u=petrochenkov). r? @nikomatsakis | ||||
| 2016-08-13 | Improve comments on ! tests | Andrew Cann | -0/+1 | |
| 2016-08-13 | Fix `make tidy` | Andrew Cann | -1/+1 | |
| 2016-08-13 | Add explanations to tests | Andrew Cann | -0/+9 | |
| 2016-08-13 | Add another test for ! | Andrew Cann | -0/+34 | |
| 2016-08-13 | Add tests for ! type | Andrew Cann | -0/+60 | |
| 2016-08-13 | Add run-pass/never_coercions.rs test | Andrew Cann | -0/+19 | |
| 2016-08-13 | Remove obsolete divergence related stuff | Andrew Cann | -16/+0 | |
| Replace FnOutput with Ty Replace FnConverging(ty) with ty Purge FnDiverging, FunctionRetTy::NoReturn and FunctionRetTy::None | ||||
| 2016-08-13 | Predicates haven't existed in almost 5 years. | Ahmed Charles | -18/+0 | |
| This test probably adds negative value other than historical amusement. | ||||
| 2016-08-13 | Ensure that attributes are spelled properly. | Ahmed Charles | -22/+22 | |
| 2016-08-13 | Parse numeric fields in struct expressions and patterns | Vadim Petrochenkov | -0/+23 | |
| 2016-08-13 | Remove restrictions from tuple structs/variants | Vadim Petrochenkov | -69/+78 | |
| Hard errors are turned into feature gates | ||||
| 2016-08-12 | test: add more extensive tests for impl Trait. | Eduard Burtescu | -0/+43 | |
| 2016-08-12 | typeck: leak auto trait obligations through impl Trait. | Eduard Burtescu | -0/+44 | |
| 2016-08-12 | typeck: record `impl Trait` concrete resolutions. | Eduard Burtescu | -0/+969 | |
| 2016-08-12 | rustc: always normalize projections in ty::layout regardless where they appear. | Eduard Burtescu | -0/+23 | |
| 2016-08-11 | Make `private_in_public` compatibility lint deny-by-default | Vadim Petrochenkov | -1/+1 | |
| 2016-08-11 | Rollup merge of #35505 - futile:test_29053, r=nikomatsakis | Jonathan Turner | -0/+21 | |
| Add test for issue #29053 This PR adds a test for #29053 (currently fails on stage 0, but works with stage 1, as it should). Fixes #29053 | ||||
| 2016-08-10 | Auto merge of #35525 - jonathandturner:rollup, r=jonathandturner | bors | -0/+19 | |
| Rollup of 15 pull requests - Successful merges: #35371, #35396, #35446, #35449, #35452, #35458, #35465, #35466, #35470, #35475, #35477, #35484, #35504, #35507, #35524 - Failed merges: #35395, #35415 | ||||
| 2016-08-10 | [emscripten] Disable code paths that don't work on emscripten | Jan-Erik Rediger | -2/+4 | |
| 2016-08-10 | [emscripten] Ignore tests | Jan-Erik Rediger | -1/+50 | |
| Most of these rely on spawning processes, which is not possible in Emscripten. | ||||
| 2016-08-08 | Auto merge of #34762 - creativcoder:slice-ext, r=alexcrichton | bors | -0/+29 | |
| extend lifetime on binary_search_by_key of SliceExt trait Fixes #34683. | ||||
| 2016-08-08 | Add regression test for #22894. | Corey Farwell | -0/+13 | |
| 2016-08-08 | Rollup merge of #35458 - GuillaumeGomez:test_string_ICE, r=alexcrichton | Jonathan Turner | -0/+19 | |
| Add run-pass test for issue 33498 Fixes #33498. r? @alexcrichton | ||||
| 2016-08-08 | add test for issue #29053 | Felix Rath | -0/+21 | |
| 2016-08-09 | extend lifetime on binary_search_by_key of SliceExt trait | Rahul Sharma | -0/+29 | |
| 2016-08-07 | Add run-pass test for issue 33498 | Guillaume Gomez | -0/+19 | |
| 2016-08-06 | Add regression test for #20847. | Corey Farwell | -0/+21 | |
| 2016-08-06 | Rewrite TypeId computation to not miss anything and work cross-crate. | Eduard Burtescu | -45/+101 | |
| 2016-08-04 | rustc_trans: don't Assert(Overflow(Neg)) when overflow checks are off. | Eduard Burtescu | -0/+26 | |
| 2016-08-03 | Support removed LLVM intrinsics by invoking its AutoUpgrade mechanism. | Eduard Burtescu | -0/+30 | |
| 2016-08-03 | rustc_trans: don't lose the cross-crate DefId, MIR trans needs it. | Eduard Burtescu | -0/+28 | |
| 2016-08-02 | tests: mark the inline asm in run-pass/issue-14936 as volatile. | Eduard Burtescu | -1/+2 | |
| 2016-08-02 | tests: don't use -Zorbit on run-pass/issue-28950, it stack overflows. | Eduard Burtescu | -0/+3 | |
| 2016-08-01 | Auto merge of #35163 - sanxiyn:rollup, r=sanxiyn | bors | -110/+13 | |
| Rollup of 8 pull requests - Successful merges: #34802, #35033, #35085, #35114, #35134, #35140, #35141, #35157 - Failed merges: | ||||
