| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 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. | ||||
| 2018-10-09 | check that entire ref is in-bounds before recursing; add macro for ↵ | Ralf Jung | -9/+30 | |
| validation msgs on error | ||||
| 2018-10-05 | Stabilize `min_const_fn` | Oliver Schneider | -10/+6 | |
| 2018-10-04 | Don't try to promote already promoted out temporaries | Oliver Schneider | -0/+17 | |
| 2018-10-03 | Move platform dependent output ui tests to compile-fail | Oliver Schneider | -90/+0 | |
| 2018-10-03 | Only promote calls to `#[rustc_promotable]` const fns | Oliver Schneider | -10/+54 | |
| 2018-10-02 | Rollup merge of #54702 - RalfJung:fn-ptr-promotion, r=oli-obk | Pietro Albini | -4/+27 | |
| do not promote comparing function pointers This *could* break existing code that relied on fn ptr comparison getting promoted to `'static` lifetime. Fixes https://github.com/rust-lang/rust/issues/54696 | ||||
| 2018-09-30 | also compile-fail test fn ptr comparison promotion | Ralf Jung | -4/+27 | |
| 2018-09-30 | do not normalize non-scalar constants to a ConstValue::ScalarPair | Ralf Jung | -4/+6 | |
| 2018-09-25 | Update E0714 to E0716 in tests output | Mikhail Modin | -2/+2 | |
| 2018-09-25 | Change the diagnostic number from 714 to 716. | Felix S. Klock II | -13/+13 | |
| 2018-09-25 | add "temporary value dropped while borrowed" error | Mikhail Modin | -0/+132 | |
| Issue #54131 | ||||
| 2018-09-24 | Update ui tests | Matthew Jasper | -150/+0 | |
| 2018-09-14 | Auto merge of #54032 - oli-obk:layout_scalar_ranges, r=eddyb | bors | -0/+5 | |
| Add forever unstable attribute to allow specifying arbitrary scalar ranges r? @eddyb for the first commit and @nikomatsakis for the second one | ||||
| 2018-09-14 | Rollup merge of #54147 - agnxy:const-eval-test, r=oli-obk | kennytm | -0/+55 | |
| Add a test that tries to modify static memory at compile-time Attempt to fix #53818 cc @oli-obk | ||||
| 2018-09-12 | Add a test that tries to modify static memory at compile-time | Andrew Xu | -0/+55 | |
| 2018-09-11 | Use assertion-like static assertions | Oliver Schneider | -1/+1 | |
| 2018-09-11 | Fix const eval of ZST index operations to make the static assertion work | Oliver Schneider | -0/+5 | |
| 2018-09-10 | WIP remove incorrect nll.stderr reference files | Niko Matsakis | -56/+0 | |
| 2018-09-10 | insert `AscribeUserType` for ascriptions | Niko Matsakis | -1/+22 | |
| 2018-09-07 | stabilize `#[panic_handler]` | Jorge Aparicio | -7/+6 | |
| 2018-09-03 | Add regression test for #52475 | Bruno Dutra | -0/+67 | |
| 2018-09-03 | Auto merge of #53831 - TheDarkula:pointer-check, r=oli-obk | bors | -52/+343 | |
| Added pointer checking to sanity checks r? @oli-obk | ||||
| 2018-09-01 | Auto merge of #53604 - oli-obk:min_const_fn, r=Centril,varkor | bors | -2/+2 | |
| Implement the `min_const_fn` feature gate cc @RalfJung @eddyb r? @Centril implements the feature gate for #53555 I added a hack so the `const_fn` feature gate also enables the `min_const_fn` feature gate. This ensures that nightly users of `const_fn` don't have to touch their code at all. The `min_const_fn` checks are run first, and if they succeeded, the `const_fn` checks are run additionally to ensure we didn't miss anything. | ||||
| 2018-08-31 | Added pointer checking to sanity checks | thedarkula | -52/+343 | |
| 2018-08-31 | Auto merge of #53699 - oli-obk:promotion_stability_hole, r=nikomatsakis | bors | -1/+92 | |
| Fix promotion stability hole in old borrowck r? @nikomatsakis I screwed up the promotion stability checks. Big time. They were basically nonexistant. We had tests for it. I also screwed up said tests. This is in stable already :( Basically stability checks of promotion only worked if you tried to use a const fn defined in the same crate. cc @eddyb | ||||
| 2018-08-31 | Restrict most uses of `const_fn` to `min_const_fn` | Oliver Schneider | -2/+2 | |
| 2018-08-30 | Auto merge of #53535 - TheDarkula:master, r=oli-obk | bors | -0/+62 | |
| Made std::intrinsics::transmute() const fn. r? @oli-obk tracking issue: #53605 | ||||
| 2018-08-30 | Made std::intrinsics::transmute() const fn. | thedarkula | -0/+62 | |
| 2018-08-30 | Auto merge of #53757 - oli-obk:validation, r=RalfJung | bors | -0/+21 | |
| Use partial but correct vtable layout r? @RalfJung who suggested to also do this change for nightly, not just beta | ||||
| 2018-08-28 | address nits | Ralf Jung | -3/+3 | |
| 2018-08-28 | Use partial but correct vtable layout | Oliver Schneider | -0/+21 | |
| 2018-08-27 | validate enum discriminant whenever it is read | Ralf Jung | -3/+3 | |
| 2018-08-25 | Satisfy tidy | Oliver Schneider | -1/+1 | |
| 2018-08-25 | Check cross crate stability of const fn | Oliver Schneider | -1/+92 | |
| 2018-08-23 | fix new ui test | Jorge Aparicio | -2/+2 | |
| 2018-08-22 | Reexpose stability hole in the presence of feature gates | Oliver Schneider | -0/+230 | |
