| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-12-12 | Undo a change that got lost in the larger refactorings | Oliver Scherer | -1/+3 | |
| 2018-12-11 | Make `const unsafe fn` bodies `unsafe` | Oliver Scherer | -24/+5 | |
| 2018-12-07 | Various minor/cosmetic improvements to code | Alexander Regueiro | -30/+34 | |
| 2018-12-06 | Use a function to access the Hir map to be able to turn it into a query later | John Kåre Alsaker | -22/+22 | |
| 2018-12-06 | Auto merge of #55635 - oli-obk:min_const_unsafe_fn, r=nikomatsakis | bors | -63/+232 | |
| Allow calling `const unsafe fn` in `const fn` behind a feature gate cc #55607 r? @Centril | ||||
| 2018-12-06 | Auto merge of #56307 - RalfJung:stacked-borrows-2-phase, r=oli-obk | bors | -6/+21 | |
| Stacked borrows: Support 2 phase borrows Some infrastructure needed for Stacked Borrows to be able to handle 2-phase-borros. r? @oli-obk | ||||
| 2018-12-05 | Rollup merge of #56388 - matthewjasper:more-lexical-mir-cleanup, r=nikomatsakis | Pietro Albini | -9/+17 | |
| More MIR borrow check cleanup * Fix some rustc doc links * Remove the `region_map` field from `BorrowSet` * Use `visit_local` to find 2PB activations r? @nikomatsakis | ||||
| 2018-12-04 | Intrinsic checks are just needed for `qualify_min_const_fn` | Oliver Scherer | -15/+43 | |
| 2018-12-04 | Clear up some code | Oliver Scherer | -6/+9 | |
| 2018-12-04 | Emit feature gate suggestion | Oliver Scherer | -21/+53 | |
| 2018-12-04 | Comment on the unsafety code for layout constrained fields | Oliver Scherer | -0/+6 | |
| 2018-12-04 | Also prevent mutation fields directly | Oliver Scherer | -15/+27 | |
| 2018-12-04 | Also make immutable references to non-freeze restricted value range types unsafe | Oliver Scherer | -1/+5 | |
| 2018-12-04 | generalize the message about the creation of layout restricted types | Oliver Scherer | -2/+2 | |
| 2018-12-04 | Forbid the creation of mutable borrows to fields of layout constrained types | Oliver Scherer | -0/+40 | |
| 2018-12-04 | Move ref to packed struct field check into projection arm | Oliver Scherer | -18/+18 | |
| 2018-12-04 | Make sure the initialization of constrained int range newtypes is unsafe | Oliver Scherer | -2/+14 | |
| 2018-12-04 | Document unsafe rules with comments and `bug!` calls | Oliver Scherer | -3/+6 | |
| 2018-12-04 | Allow calling `const unsafe fn` in `const fn` behind a feature gate | Oliver Scherer | -26/+55 | |
| 2018-12-03 | Retag needs to know whether this is a 2-phase-reborrow | Ralf Jung | -6/+21 | |
| 2018-11-30 | Fix some rustc doc links | Matthew Jasper | -9/+17 | |
| 2018-11-30 | Fix rebase fallout | Oliver Scherer | -1/+1 | |
| 2018-11-30 | Improve the diagnostic message | Oliver Scherer | -6/+21 | |
| 2018-11-30 | Reenable `const_let` feature gate | Oliver Scherer | -41/+206 | |
| 2018-11-30 | Improve the error around short circuiting and let bindings | Oliver Scherer | -3/+3 | |
| 2018-11-30 | Properly name the flag for `&&` -> `&` conversion | Oliver Scherer | -1/+1 | |
| 2018-11-30 | Allow `let` bindings everywhere | Oliver Scherer | -151/+57 | |
| 2018-11-30 | Stabilize `const_let` inside const functions | Oliver Scherer | -61/+10 | |
| 2018-11-30 | Pacify tidy | Philipp Hansch | -9/+9 | |
| 2018-11-30 | Fix const_fn ICE with non-const function pointer | Philipp Hansch | -122/+137 | |
| 2018-11-27 | avoid features_untracked | Ralf Jung | -9/+9 | |
| 2018-11-26 | Auto merge of #56070 - oli-obk:const_let, r=eddyb | bors | -6/+56 | |
| 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-25 | Auto merge of #55959 - matthewjasper:remove-end-region, r=nikomatsakis | bors | -113/+14 | |
| Cleanup from lexical MIR borrowck removal Lexical MIR borrowck was removed months ago now, and `EndRegion`s are no longer used for MIRI verification. * Remove `rustc::mir::StatementKind::EndRegion` and the `-Zemit_end_regions` flag * Use `RegionVid` instead of `Region` in BorrowSet * Rewrite drop generation to create fewer goto terminators. r? @nikomatsakis | ||||
| 2018-11-21 | Auto merge of #56065 - oli-obk:min_const_fn_loop_ice, r=davidtwco | bors | -5/+3 | |
| Replace the ICEing on const fn loops with an error fixes #56035 | ||||
| 2018-11-21 | Explain why we do not overwrite qualification of locals | Oliver Scherer | -2/+5 | |
| 2018-11-21 | Ensure assignments don't allow skipping projection checks | Oliver Scherer | -1/+10 | |
| 2018-11-21 | Properly assign to aggregate fields | Oliver Scherer | -1/+6 | |
| 2018-11-21 | rustc: remove {FxHash,Node,DefId,HirId,ItemLocal}{Map,Set} "constructor" fns. | Eduard-Mihai Burtescu | -1/+1 | |
| 2018-11-20 | Document qualify_consts more | Oliver Scherer | -1/+6 | |
| 2018-11-19 | use RawConst in miri | Ralf Jung | -2/+4 | |
| 2018-11-19 | Make const_eval_raw query return just an AllocId | Ralf Jung | -1/+1 | |
| 2018-11-19 | Also catch static mutation at evaluation time | Oliver Scherer | -1/+7 | |
| 2018-11-19 | Allow assignments in const contexts | Oliver Scherer | -6/+28 | |
| 2018-11-19 | Replace the ICEing on const fn loops with an error | Oliver Scherer | -5/+3 | |
| 2018-11-18 | Remove mir::StatementKind::EndRegion | Matthew Jasper | -113/+14 | |
| Since lexical MIR borrow check is gone, and validation no longer uses these, they can be removed. | ||||
| 2018-11-15 | Auto merge of #55716 - RalfJung:escape-to-raw, r=oli-obk | bors | -38/+84 | |
| Add escape-to-raw MIR statement Add a new MIR "ghost state statement": Escaping a ptr to permit raw accesses. ~~This includes #55549, [click here](https://github.com/RalfJung/rust/compare/miri-visitor...RalfJung:escape-to-raw) for just the new commits.~~ | ||||
| 2018-11-12 | Use type safe `VariantIdx` instead of `usize` everywhere | Oliver Scherer | -4/+6 | |
| 2018-11-11 | Rollup merge of #55802 - wesleywiser:inlined_calls_2_electric_boogaloo, r=nagisa | Pietro Albini | -45/+49 | |
| Don't inline virtual calls (take 2) When I fixed the previous mis-optimizations, I didn't realize there were actually two different places where we mutate `callsites` and both of them should have the same behavior. As a result, if a function was inlined and that function contained virtual function calls, they were incorrectly being inlined. I also added a test case which covers this. | ||||
| 2018-11-11 | Rollup merge of #55792 - oli-obk:propsicle, r=RalfJung | Pietro Albini | -8/+8 | |
| Prevent ICE in const-prop array oob check fixes https://github.com/rust-lang/rust/issues/55772 fixes https://github.com/rust-lang/rust/issues/54541 | ||||
| 2018-11-11 | Rollup merge of #55745 - nnethercote:outlives_components-SmallVec, ↵ | Pietro Albini | -1/+6 | |
| r=matthewjasper Convert `outlives_components`' return value to a `SmallVec` outparam. This avoids some allocations, reducing instruction counts by 1% on a couple of benchmarks. | ||||
