| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-04-26 | Auto merge of #50253 - nikomatsakis:regressions-2018-04-26, r=eddyb | bors | -1/+1 | |
| drop elaboration should reveal all This used to happen implicitly through the normalization function; but we now keep the param-env as is, which seems less surprising. cc #49685 r? @eddyb | ||||
| 2018-04-26 | use `reveal_all` during drop elaboration | Niko Matsakis | -1/+1 | |
| This used to happen by default as part of the normalization routine that was being used. | ||||
| 2018-04-26 | rustc_target: move in syntax::abi and flip dependency. | Irina Popa | -3/+3 | |
| 2018-04-26 | rustc_target: move LayoutOf's type parameter to an associated type. | Irina Popa | -1/+2 | |
| 2018-04-23 | Auto merge of #49779 - oli-obk:const_err_regression, r=eddyb | bors | -2/+2 | |
| Don't report compile-time errors for promoteds Fixes the regression part of #49760, the missing warnings still are missing r? @eddyb | ||||
| 2018-04-20 | Pass the right type to box_free() in MIR | Mike Hommey | -63/+2 | |
| Currently, MIR just passes the raw Box to box_free(), which happens to work because practically, it's the same thing. But that might not be true in the future, with Box<T, A: Alloc>. The MIR inline pass actually fixes up the argument while inlining box_free, but this is not enabled by default and doesn't necessarily happen (the inline threshold needs to be passed). This change effectively moves what the MIR inline pass does to the elaborate_drops pass, so that box_free() is passed the raw pointer instead of the Box. | ||||
| 2018-04-18 | Clarified E0015 message, r=estebank | krk | -2/+2 | |
| 2018-04-15 | Only warn on erroneous promoted constants | Oliver Schneider | -2/+2 | |
| 2018-03-27 | Auto merge of #49202 - csmoe:trait_engine, r=nikomatsakis | bors | -1/+1 | |
| Introduce trait engine address #48895 step 1: introduce trait engine | ||||
| 2018-03-25 | Rollup merge of #49194 - Zoxc:unsafe-generator, r=cramertj | kennytm | -10/+2 | |
| Make resuming generators unsafe instead of the creation of immovable generators cc @withoutboats Fixes #47787 | ||||
| 2018-03-23 | import trait engine to typeck | csmoe | -1/+1 | |
| 2018-03-22 | Added initial processing of UserAssertTy statements. | David Wood | -17/+25 | |
| 2018-03-22 | Killing UserAssertTy in CleanupPostBorrowck pass. | David Wood | -17/+46 | |
| 2018-03-22 | Added UserAssertTy statement. | David Wood | -0/+6 | |
| 2018-03-21 | Make resuming generators unsafe instead of the creation of immovable ↵ | John Kåre Alsaker | -10/+2 | |
| generators. Fixes #47787 | ||||
| 2018-03-14 | Add note about fallback to `!: !Trait` error | Andrew Cann | -1/+1 | |
| 2018-03-14 | remove defaulting to unit | Andrew Cann | -1/+1 | |
| Types will no longer default to `()`, instead always defaulting to `!`. This disables the associated warning and removes the flag from TyTuple | ||||
| 2018-03-13 | `trans_apply_param_substs` => `subst_and_normalize_erasing_regions` | Niko Matsakis | -27/+7 | |
| Consolidate `trans_apply_param_substs` and `trans_apply_param_substs_env`. Also remove `trans_impl_self_ty` | ||||
| 2018-03-13 | refactor `ParamEnv::empty(Reveal)` into two distinct methods | Niko Matsakis | -2/+2 | |
| - `ParamEnv::empty()` -- does not reveal all, good for typeck - `ParamEnv::reveal_all()` -- does, good for trans - `param_env.with_reveal_all()` -- converts an existing parameter environment | ||||
| 2018-03-08 | simplify constant value pair field access | Oliver Schneider | -6/+1 | |
| 2018-03-08 | Unify the const folding errors | Oliver Schneider | -31/+111 | |
| before they differed depending on whether optimizations were on or not | ||||
| 2018-03-08 | Regenerate tests | Oliver Schneider | -1/+1 | |
| 2018-03-08 | Generator assertions are unconditionally triggered | Oliver Schneider | -4/+6 | |
| 2018-03-08 | Don't use the undefined bytes of PrimVal::Bytes | Oliver Schneider | -3/+2 | |
| 2018-03-08 | Rebase fallout | Oliver Schneider | -2/+2 | |
| 2018-03-08 | Unregress error spans in constant errors | Oliver Schneider | -1/+1 | |
| 2018-03-08 | Tidy fix | Oliver Schneider | -4/+2 | |
| 2018-03-08 | Update tests | Oliver Schneider | -1/+1 | |
| 2018-03-08 | Report all errors other than those about insufficient type information | Oliver Schneider | -2/+4 | |
| 2018-03-08 | Compute the ParamEnv only once and use it to call tcx.const_eval | Oliver Schneider | -9/+25 | |
| 2018-03-08 | Can only const prop temporaries | Oliver Schneider | -1/+6 | |
| Variables might error in branches that are not reachable due to the variable value. | ||||
| 2018-03-08 | Simplify const propagator by removing unused code paths | Oliver Schneider | -71/+52 | |
| 2018-03-08 | Rename OptimizationFinder and don't propagate any borrows | Oliver Schneider | -38/+12 | |
| 2018-03-08 | Simplify const prop checks through PlaceContext | Oliver Schneider | -53/+51 | |
| 2018-03-08 | Figure out const propgatable locals in a single pass | Oliver Schneider | -28/+30 | |
| 2018-03-08 | Update tests | Oliver Schneider | -3/+4 | |
| 2018-03-08 | Only report bitshift lints on bitshift ops | Oliver Schneider | -14/+16 | |
| 2018-03-08 | Use IndexVec instead of FxHashMap | Oliver Schneider | -24/+19 | |
| 2018-03-08 | Merge const linting pass into const prop | Oliver Schneider | -1/+23 | |
| 2018-03-08 | Remove single field struct by just using the field | Oliver Schneider | -9/+4 | |
| 2018-03-08 | Remove the fragile const propagator and just do linting | Oliver Schneider | -123/+3 | |
| 2018-03-08 | Fix ICE in const prop | Oliver Schneider | -2/+4 | |
| 2018-03-08 | Revert all changes to the instcombine pass | Oliver Schneider | -22/+76 | |
| 2018-03-08 | Split const prop into its own pass | Oliver Schneider | -439/+520 | |
| 2018-03-08 | Don't use scary block reorderings | Oliver Schneider | -56/+4 | |
| 2018-03-08 | Rename ConstVal::to_u128 to to_raw_bits | Oliver Schneider | -1/+1 | |
| 2018-03-08 | Destructure Rc wrapped ErrorKind in miri | Oliver Schneider | -5/+1 | |
| 2018-03-08 | Enable const prop to also evaluate constants, not just literals | Oliver Schneider | -18/+46 | |
| 2018-03-08 | Add InterpretInterner to StableHashingContext for AllocId serialization | Oliver Schneider | -27/+28 | |
| 2018-03-08 | Fully use miri in trans | Oliver Schneider | -13/+476 | |
