| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-12-04 | Update tests | Oliver Scherer | -0/+1 | |
| 2018-11-26 | Auto merge of #56070 - oli-obk:const_let, r=eddyb | bors | -15/+77 | |
| Allow assignments in const contexts fixes https://github.com/rust-lang/rust/issues/54098 fixes https://github.com/rust-lang/rust/issues/51251 fixes https://github.com/rust-lang/rust/issues/52613 | ||||
| 2018-11-20 | Explain missing error in test | Oliver Scherer | -1/+4 | |
| 2018-11-19 | we now do proper validation on scalars | Ralf Jung | -13/+13 | |
| 2018-11-19 | Make const_eval_raw query return just an AllocId | Ralf Jung | -16/+22 | |
| 2018-11-19 | Also catch static mutation at evaluation time | Oliver Scherer | -17/+45 | |
| 2018-11-19 | Rollup merge of #56059 - alexcrichton:fix-tests, r=sfackler | kennytm | -0/+27 | |
| Increase `Duration` approximate equal threshold to 1us Previously this threshold when testing was 100ns, but the Windows documentation states: > which is a high resolution (<1us) time stamp which presumably means that we could have up to 1us resolution, which means that 100ns doesn't capture "equivalent" time intervals due to various bits of rounding here and there. It's hoped that this.. Closes #56034 | ||||
| 2018-11-19 | Allow assignments in const contexts | Oliver Scherer | -16/+47 | |
| 2018-11-18 | Auto merge of #55672 - RalfJung:miri-extern-types, r=eddyb | bors | -0/+27 | |
| miri: accept extern types in structs if they are the only field Fixes https://github.com/rust-lang/rust/issues/55541 Cc @oli-obk @eddyb https://github.com/rust-lang/rust/issues/43467 | ||||
| 2018-11-15 | do not accept out-of-bounds pointers in enum discriminants, they might be NULL | Ralf Jung | -6/+19 | |
| 2018-11-15 | validation: better error when the enum discriminant is Undef | Ralf Jung | -13/+13 | |
| 2018-11-13 | Auto merge of #55589 - oli-obk:min_length_💣, r=pnkfelix | bors | -1/+1 | |
| Add `VariantIdx` type and use instead of `usize` | ||||
| 2018-11-12 | miri-engine value visitor update to VariantIdx | Oliver Scherer | -1/+1 | |
| 2018-11-10 | adjust ui/../mod-static-with-const-fn.rs | Mazdak Farrokhzad | -3/+15 | |
| 2018-11-10 | fix mod-static-with-const-fn.rs. | Mazdak Farrokhzad | -3/+1 | |
| 2018-11-10 | --bless mod-static-with-const-fn.stderr | Mazdak Farrokhzad | -9/+2 | |
| 2018-11-10 | constify parts of libcore. | Mazdak Farrokhzad | -2/+0 | |
| 2018-11-07 | test diagnostics for more ranges | Ralf Jung | -2/+32 | |
| 2018-11-07 | pretty-print scalar range that only has an upper bound | Ralf Jung | -7/+7 | |
| 2018-11-07 | do not print wrapping ranges like normal ranges in diagnostics | Ralf Jung | -22/+47 | |
| 2018-11-05 | the visitor can already load the value for visit_primitive | Ralf Jung | -1/+1 | |
| 2018-11-05 | Also test for undef in enum discriminant | Ralf Jung | -3/+16 | |
| The error message is sub-par, but fixing that requries moving ScalarMaybeUndef to librustc which would conflict badly with another PR that is in flight. | ||||
| 2018-11-05 | fix validation error on non-integer enum discriminants | Ralf Jung | -33/+42 | |
| 2018-11-05 | reduce the amount of traversal/projection code that the visitor has to ↵ | Ralf Jung | -2/+2 | |
| implement itself | ||||
| 2018-11-04 | also test with PhantomData | Ralf Jung | -3/+9 | |
| 2018-11-04 | miri: accept extern types in structs if they are the only field | Ralf Jung | -0/+21 | |
| 2018-11-01 | Fix double_check tests on big-endian targets | Samuel Holland | -10/+10 | |
| Since the enums get optimized down to 1 byte long, the bits set in the usize member don't align with the enums on big-endian machines. Avoid this issue by shrinking the integer member to the same size as the enums. | ||||
| 2018-10-29 | Add UI test for #49296 | memoryruins | -0/+35 | |
| 2018-10-26 | Auto merge of #55382 - kennytm:rollup, r=kennytm | bors | -0/+17 | |
| Rollup of 21 pull requests Successful merges: - #54816 (Don't try to promote already promoted out temporaries) - #54824 (Cleanup rustdoc tests with `@!has` and `@!matches`) - #54921 (Add line numbers option to rustdoc) - #55167 (Add a "cheap" mode for `compute_missing_ctors`.) - #55258 (Fix Rustdoc ICE when checking blanket impls) - #55264 (Compile the libstd we distribute with -Ccodegen-unit=1) - #55271 (Unimplement ExactSizeIterator for MIR traversing iterators) - #55292 (Macro diagnostics tweaks) - #55298 (Point at macro definition when no rules expect token) - #55301 (List allowed tokens after macro fragments) - #55302 (Extend the impl_stable_hash_for! macro for miri.) - #55325 (Fix link to macros chapter) - #55343 (rustbuild: fix remap-debuginfo when building a release) - #55346 (Shrink `Statement`.) - #55358 (Remove redundant clone (2)) - #55370 (Update mailmap for estebank) - #55375 (Typo fixes in configure_cmake comments) - #55378 (rustbuild: use configured linker to build boostrap) - #55379 (validity: assert that unions are non-empty) - #55383 (Use `SmallVec` for the queue in `coerce_unsized`.) - #55391 (bootstrap: clean up a few clippy findings) | ||||
| 2018-10-26 | Rollup merge of #54816 - oli-obk:double_promotion, r=alexreg | kennytm | -0/+17 | |
| Don't try to promote already promoted out temporaries fixes #53201 r? @eddyb | ||||
| 2018-10-25 | Rebase fallout | Oliver Schneider | -184/+57 | |
| 2018-10-25 | add the lint back to the list, and fix tests | Ralf Jung | -201/+60 | |
| 2018-10-25 | fix ui tests (rebase fallout) | Ralf Jung | -0/+1 | |
| 2018-10-25 | Addressed minor issues brought up in review. | Alexander Regueiro | -8/+5 | |
| 2018-10-25 | Rebase fallout in ui output | Oliver Schneider | -22/+11 | |
| 2018-10-25 | update tests to changes on rustc master | Oliver Schneider | -46/+64 | |
| 2018-10-25 | Deduplicate all the ~~things~~ errors | Oliver Schneider | -98/+52 | |
| 2018-10-25 | Report const eval error inside the query | Oliver Schneider | -472/+737 | |
| 2018-10-21 | Use new region infer errors for explaining borrows | Matthew Jasper | -36/+36 | |
| This gives at least some explanation for why a borrow is expected to last for a certain free region. Also: * Reports E0373: "closure may outlive the current function" with NLL. * Special cases the case of returning a reference to (or value referencing) a local variable or temporary (E0515). * Special case assigning a reference to a local variable in a closure to a captured variable. | ||||
| 2018-10-19 | skip user-type annotations if they don't have regions | Niko Matsakis | -19/+4 | |
| 2018-10-19 | lowering casts in constants now creates multiple uses | Niko Matsakis | -6/+21 | |
| This can trigger more errors than before. Not sure what is the best fix here. | ||||
| 2018-10-16 | Check the type of statics and constants for `Sized`ness | Oliver Scherer | -10/+7 | |
| 2018-10-13 | validation: accept pointers in integer arrays | Ralf Jung | -1/+12 | |
| 2018-10-13 | Fix and test upvar name printing for validity | Ralf Jung | -0/+36 | |
| 2018-10-09 | unify handling of thin and fat pointers by moving primitive type handling ↵ | Ralf Jung | -8/+19 | |
| out of aggregate handling Also, make enum variant handling a bit nicer | ||||
| 2018-10-09 | add some tests with constants that better be valid | Ralf Jung | -0/+18 | |
| 2018-10-09 | move a test to a better place | Ralf Jung | -0/+254 | |
| 2018-10-09 | also validate everything that has a Scalar layout, to catch NonNull | Ralf Jung | -4/+56 | |
| 2018-10-09 | fix validating arrays of ZSTs | Ralf Jung | -14/+23 | |
| Fixes #54751 | ||||
| 2018-10-09 | switch validation of scalars to be type-driven | Ralf Jung | -32/+50 | |
| This does not actually regress anything. It would regress NonNull, but we didn't handle that correctly previously either. | ||||
