| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-05-25 | Fix 07c42af554c to work on stable | Mark Simulacrum | -6/+19 | |
| 2018-05-24 | Fix issue #50811 (`NaN > NaN` was true). | kennytm | -7/+6 | |
| Fix #50811 Make sure the float comparison output is consistent with the expected behavior when NaN is involved. ---- Note: This PR is a **BREAKING CHANGE**. If you have used `>` or `>=` to compare floats, and make the result as the length of a fixed array type, like: ```rust use std::f64::NAN; let x: [u8; (NAN > NAN) as usize] = [1]; ``` then the code will no longer compile. Previously, all float comparison involving NaN will just return "Greater", i.e. `NAN > NAN` would wrongly return `true` during const evaluation. If you need to retain the old behavior (why), you may replace `a > b` with `a != a || b != b || a > b`. | ||||
| 2018-04-25 | Only warn on erroneous promoted constants | Oliver Schneider | -3/+3 | |
| 2018-04-17 | Add a tracking issue for making the warning a lint | Oliver Schneider | -0/+1 | |
| 2018-04-17 | Don't abort const eval due to long running evals, just warn | Oliver Schneider | -10/+9 | |
| 2018-04-17 | Sign extend constants in range patterns | Oliver Schneider | -12/+26 | |
| 2018-04-17 | Stop referring to statics' AllocIds directly | Oliver Schneider | -113/+37 | |
| 2018-03-30 | Add an explanation for the `create_depgraph_edges` | Oliver Schneider | -1/+12 | |
| 2018-03-30 | Introduce an edge from a const eval to the MIR of all statics it depends on | Oliver Schneider | -1/+29 | |
| 2018-03-25 | Rollup merge of #49274 - oli-obk:slow_miri, r=michaelwoerister,eddyb | kennytm | -58/+44 | |
| Remove slow HashSet during miri stack frame creation fixes #49237 probably has a major impact on #48846 r? @michaelwoerister cc @eddyb I know you kept telling me to use vectors instead of hash containers... Now I know why. | ||||
| 2018-03-24 | Auto merge of #48482 - davidtwco:issue-47184, r=nikomatsakis | bors | -0/+2 | |
| NLL should identify and respect the lifetime annotations that the user wrote Part of #47184. r? @nikomatsakis | ||||
| 2018-03-23 | Rollup merge of #49030 - Zoxc:misc, r=michaelwoerister | Alex Crichton | -3/+3 | |
| Misc changes from my parallel rustc branch r? @michaelwoerister | ||||
| 2018-03-23 | Simplify local accessors | Oliver Schneider | -10/+8 | |
| 2018-03-23 | Don't allocate a local array at all if there are no locals | Oliver Schneider | -16/+22 | |
| 2018-03-23 | Replace uses of `Hash(Map|Set)` with `FxHash(Map|Set)` in miri | Oliver Schneider | -8/+9 | |
| 2018-03-23 | Vec<_> -> IndexVec<Local, _> | Oliver Schneider | -22/+14 | |
| 2018-03-22 | Added UserAssertTy statement. | David Wood | -0/+2 | |
| 2018-03-22 | Skip checking for Storage* statements in constants/statics | Oliver Schneider | -10/+17 | |
| 2018-03-22 | Remove slow HashSet during miri stack frame creation | Oliver Schneider | -29/+11 | |
| 2018-03-21 | Fix test error | bjorn3 | -0/+8 | |
| 2018-03-20 | Don't check interpret_interner when accessing a static to fix miri mutable ↵ | bjorn3 | -22/+10 | |
| statics | ||||
| 2018-03-17 | Replace Rc with Lrc | John Kåre Alsaker | -3/+3 | |
| 2018-03-14 | Auto merge of #47630 - canndrew:exhaustive-patterns, r=nikomatsakis | bors | -1/+1 | |
| Stabilise feature(never_type). Introduce feature(exhaustive_patterns) This stabilizes `!`, removing the feature gate as well as the old defaulting-to-`()` behavior. The pattern exhaustiveness checks which were covered by `feature(never_type)` have been moved behind a new `feature(exhaustive_patterns)` gate. | ||||
| 2018-03-14 | Auto merge of #48864 - oli-obk:miri_incremental_regression, r=eddyb | bors | -2/+6 | |
| Cache const eval queries fixes #48846 (I think, still running more perf tests, but tuple-stress stops recomputing any constants) r? @michaelwoerister | ||||
| 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 | -3/+15 | |
| Consolidate `trans_apply_param_substs` and `trans_apply_param_substs_env`. Also remove `trans_impl_self_ty` | ||||
| 2018-03-13 | transition various normalization functions to the new methods | Niko Matsakis | -7/+14 | |
| In particular: - `fully_normalize_monormophic_ty` => `normalize_erasing_regions` - `normalize_associated_type_in_env` => `normalize_erasing_regions` - `fully_normalize_associated_types_in` => `normalize_erasing_regions` - `erase_late_bound_regions_and_normalize` => `normalize_erasing_late_bound_regions` | ||||
| 2018-03-13 | Reuse the query caching infrastructure for const eval | Oliver Schneider | -2/+6 | |
| 2018-03-13 | refactor `ParamEnv::empty(Reveal)` into two distinct methods | Niko Matsakis | -2/+1 | |
| - `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 | Correct the shift overflow check in miri | Oliver Schneider | -1/+1 | |
| 2018-03-08 | Address review comments | Oliver Schneider | -42/+24 | |
| 2018-03-08 | Decide signdedness on the layout instead of the type | Oliver Schneider | -36/+49 | |
| 2018-03-08 | Don't use the undefined bytes of PrimVal::Bytes | Oliver Schneider | -212/+178 | |
| 2018-03-08 | Fix mozjs crater failure | Oliver Schneider | -3/+11 | |
| 2018-03-08 | Const eval will oom together with rustc now | Oliver Schneider | -17/+0 | |
| 2018-03-08 | Step limit is now terminator limit | Oliver Schneider | -2/+3 | |
| 2018-03-08 | Report tcx errors with the span of the currently evaluating statement | Oliver Schneider | -63/+39 | |
| 2018-03-08 | Report a best guess span if no stack is available anymore | Oliver Schneider | -8/+19 | |
| 2018-03-08 | Unregress error spans in constant errors | Oliver Schneider | -12/+20 | |
| 2018-03-08 | Tidy fix | Oliver Schneider | -1/+1 | |
| 2018-03-08 | Const eval error refactoring | Oliver Schneider | -84/+95 | |
| 2018-03-08 | Compute the ParamEnv only once and use it to call tcx.const_eval | Oliver Schneider | -8/+10 | |
| 2018-03-08 | Move the resource limits to the session in preparation for attributes ↵ | Oliver Schneider | -33/+12 | |
| configuring them | ||||
| 2018-03-08 | Report const eval errors at the correct span | Oliver Schneider | -3/+7 | |
| 2018-03-08 | Reduce noise in error reporting | Oliver Schneider | -1/+1 | |
| 2018-03-08 | Use Mutability enum instead of bool | Oliver Schneider | -2/+2 | |
| 2018-03-08 | Nuke ConstInt and Const*size | Oliver Schneider | -2/+2 | |
| 2018-03-08 | Destructure Rc wrapped ErrorKind in miri | Oliver Schneider | -11/+14 | |
| 2018-03-08 | Don't read from zero sized fields | Oliver Schneider | -0/+3 | |
| 2018-03-08 | Hide the RefCell inside InterpretInterner | Oliver Schneider | -22/+16 | |
| It was too easy to get this wrong | ||||
