| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2017-08-11 | Rollup merge of #43752 - arshiamufti:union-test, r=estebank | Guillaume Gomez | -0/+5 | |
| Add IRC's `!union union` as a test, addresses #43553 This pull request adds a new test, `union` to `weird-exprs.rs`. | ||||
| 2017-08-11 | Auto merge of #43745 - kennytm:fix-43162, r=aturon | bors | -0/+6 | |
| Type-check `break value;` even outside of `loop {}`. Fix #43162, fix #43727. | ||||
| 2017-08-11 | Auto merge of #43743 - michaelwoerister:gcx-tcx-switcheroo, r=eddyb | bors | -0/+5 | |
| Some assorted region hashing fixes. This PR contains three changes. 1. It changes what we implement `HashStable` for. Previously, the trait was implemented for things in the local `TyCtxt`. That was OK, since we only invoked hashing with a `TyCtxt<'_, 'tcx, 'tcx>` where there is no difference. With query result hashing this becomes a problem though. So we now implement `HashStable` for things in `'gcx`. 2. The PR makes the regular `HashStable` implementation *not* anonymize late-bound regions anymore. It's a waste of computing resources and it's not clear that it would always be correct to do so. 3. The PR adds an option for stable hashing to treat all regions as erased and uses this new option when computing the `TypeId`. This should help with https://github.com/rust-lang/rust/issues/41875. I did not add a test case for (3) since that's not possible yet. But it looks like @zackmdavis has something in the pipeline there `:)`. r? @eddyb | ||||
| 2017-08-10 | Merge remote-tracking branch 'origin/master' into gen | Alex Crichton | -0/+23 | |
| 2017-08-10 | For box expressions, use NZ drop instead of a free block | Ariel Ben-Yehuda | -0/+6 | |
| This falls naturally out of making drop elaboration work with `box` expressions, which is probably required for sane MIR borrow-checking. This is a pure refactoring with no intentional functional effects. | ||||
| 2017-08-09 | Add a failing xcrate generator test | Alex Crichton | -5/+18 | |
| 2017-08-09 | Initial pass review comments | Alex Crichton | -2/+57 | |
| 2017-08-09 | Merge remote-tracking branch 'origin/master' into gen | Alex Crichton | -7/+79 | |
| 2017-08-09 | Erase/anonymize regions while computing TypeId hash. | Michael Woerister | -0/+5 | |
| 2017-08-09 | Type-check `break value;` even outside of `loop {}`. | kennytm | -0/+6 | |
| Fix #43162, fix #43727. | ||||
| 2017-08-08 | Avoid calling the column!() macro in panic | est31 | -0/+23 | |
| 2017-08-04 | Unskip some tests on AArch64 | Mátyás Mustoha | -6/+0 | |
| 2017-08-04 | add test | arshiamufti | -0/+5 | |
| 2017-08-03 | Recognize SPARC in more tests where architecture matters. | Danek Duvall | -0/+4 | |
| 2017-08-02 | Remove unecessary test code #43219 | Mario Idival | -1/+0 | |
| 2017-07-30 | save the subobligations as well | Niko Matsakis | -0/+74 | |
| 2017-07-29 | Auto merge of #43492 - lu-zero:master, r=alexcrichton | bors | -0/+1 | |
| More Altivec Intrinsics | ||||
| 2017-07-28 | Make LLVMRustHasFeature more robust | Luca Barbato | -0/+1 | |
| The function should accept feature strings that old LLVM might not support. Simplify the code using the same approach used by LLVMRustPrintTargetFeatures. Dummify the function for non 4.0 LLVM and update the tests accordingly. | ||||
| 2017-07-28 | Fix tests | John Kåre Alsaker | -23/+23 | |
| 2017-07-28 | Convert to spaces | John Kåre Alsaker | -4/+4 | |
| 2017-07-28 | Remove support for `gen arg` | Alex Crichton | -71/+25 | |
| 2017-07-28 | Fix a bug with yielding subtypes of the yield type. | John Kåre Alsaker | -0/+23 | |
| 2017-07-28 | Add a test case for conditional drop | Alex Crichton | -0/+65 | |
| 2017-07-28 | Fix tests | John Kåre Alsaker | -11/+16 | |
| 2017-07-28 | Use FIXME instead of TODO | John Kåre Alsaker | -1/+1 | |
| 2017-07-28 | Ensure upvars are dropped when generators have never been resumed | John Kåre Alsaker | -4/+2 | |
| 2017-07-28 | Make yield and gen arg outside generator literals an error and update tests | John Kåre Alsaker | -5/+6 | |
| 2017-07-28 | Add some generator pass/fail tests | Alex Crichton | -0/+442 | |
| 2017-07-28 | Fix tests | Alex Crichton | -4/+7 | |
| 2017-07-28 | Added some tests | John Kåre Alsaker | -0/+33 | |
| 2017-07-28 | Fix tidy warnings | Alex Crichton | -10/+10 | |
| 2017-07-28 | Generator literal support | John Kåre Alsaker | -0/+44 | |
| 2017-07-28 | Auto merge of #43505 - eddyb:poly-const-eval-layout-of, r=nikomatsakis | bors | -0/+19 | |
| rustc_const_eval: always require Substs and a ParamEnv. Fixes #43357 by tracking the `Substs` and `ParamEnv` for const-evaluation in generic contexts. | ||||
| 2017-07-27 | rustc_const_eval: keep track of the appropriate ParamEnv. | Eduard-Mihai Burtescu | -0/+19 | |
| 2017-07-26 | Rollup merge of #43465 - topecongiro:needs-test, r=Mark-Simulacrum | Mark Simulacrum | -0/+97 | |
| Add tests for issues with the E-needstest label Fixes #19181. Fixes #29516. Fixes #29798. Fixes #33504. Fixes #34780. Fixes #39211. Fixes #39467. Fixes #39720. | ||||
| 2017-07-26 | Rollup merge of #42959 - SimonSapin:nonzero-checked, r=sfackler | Mark Simulacrum | -1/+1 | |
| Make the "main" constructors of NonZero/Shared/Unique return Option Per discussion in https://github.com/rust-lang/rust/issues/27730#issuecomment-303939441. This is a breaking change to unstable APIs. The old behavior is still available under the name `new_unchecked`. Note that only that one can be `const fn`, since `if` is currently not allowed in constant contexts. In the case of `NonZero` this requires adding a new `is_zero` method to the `Zeroable` trait. I mildly dislike this, but it’s not much worse than having a `Zeroable` trait in the first place. `Zeroable` and `NonZero` are both unstable, this can be reworked later. | ||||
| 2017-07-25 | Auto merge of #43325 - ollie27:overflowing_literals, r=arielb1 | bors | -3/+5 | |
| Fix overflowing_literals lint for large f32s Float literals need to be parsed as the correct type so they can be rounded correctly. | ||||
| 2017-07-25 | Add tests for issues with the E-needstest label | topecongiro | -0/+97 | |
| 2017-07-23 | Fix some doc/comment typos. | Bruce Mitchener | -3/+3 | |
| 2017-07-23 | Lambda expressions honor no struct literal restriction | Aleksey Kladov | -0/+19 | |
| 2017-07-22 | Auto merge of #43382 - mmatyas:aarch64_ignore-stack-probes, r=alexcrichton | bors | -0/+2 | |
| Ignore stack probe tests on AArch64 Stack probes are only implemented for x86, and as such currently fail on AArch64. This patch ignores those tests on this architecture. Fixes #43356. r? @alexcrichton | ||||
| 2017-07-22 | Use safe conversion instead of unsafe constructor in issue-23433 test | Simon Sapin | -1/+1 | |
| 2017-07-22 | Rename {NonZero,Shared,Unique}::new to new_unchecked | Simon Sapin | -1/+1 | |
| 2017-07-21 | Auto merge of #43274 - bitshifter:union-align, r=petrochenkov | bors | -0/+90 | |
| Support repr alignment on unions. Requested as part of RFC 1358 https://github.com/rust-lang/rust/issues/33626#issuecomment-309137284. | ||||
| 2017-07-21 | Ignore stack probe tests on AArch64 | Mátyás Mustoha | -0/+2 | |
| 2017-07-19 | Auto merge of #42859 - eddyb:const-size-and-align-of, r=nikomatsakis | bors | -0/+60 | |
| Implement const fn {size,align}_of. Fixes #34078. r? @nikomatsakis | ||||
| 2017-07-19 | Implement const fn {size,align}_of. | Eduard-Mihai Burtescu | -0/+60 | |
| 2017-07-19 | Fix overflowing_literals lint for large f32s | Oliver Middleton | -3/+5 | |
| Float literals need to be parsed as the correct type so they can be rounded correctly. | ||||
| 2017-07-18 | Ignore pretty-test | Aleksey Kladov | -0/+2 | |
| 2017-07-18 | Catch expression does not require semicolon to be a statement | Aleksey Kladov | -0/+6 | |
