rust/src/librustc
bors de0abf7599 Auto merge of #66650 - matthewjasper:nonuniform-array-move, r=pnkfelix
Remove uniform array move MIR passes

This PR fixes a number of bugs caused by limitations of this pass

* Projections from constant indexes weren't being canonicalized
* Constant indexes from the start weren't being canonicalized (they could have different min_lengths)
* It didn't apply to non-moves

This PR makes the following changes to support removing this pass:

* ConstantIndex of arrays are now generated in a canonical form (from the start, min_length is the actual length).
* Subslices are now split when generating move paths and when checking subslices have been moved.

Additionally

* The parent move path of a projection from an array element is now calculated correctly

closes #66502
2019-12-11 23:00:38 +00:00
..
benches make ./x.py bench again 2019-11-23 07:06:27 +01:00
dep_graph Rollup merge of #66846 - gizmondo:master, r=michaelwoerister 2019-12-07 00:09:52 +09:00
hir Rename to then_some and then 2019-12-06 12:24:54 +00:00
ich introduce crate rustc_feature and move active, accepted, and removed to it 2019-11-30 00:25:40 +01:00
infer Added ExactSizeIterator bound to return types 2019-12-09 21:16:48 +01:00
lint Rollup merge of #66325 - BartMassey:master, r=joshtriplett 2019-12-08 03:39:43 +01:00
middle Move NativeLibraryKind to rustc_session 2019-12-03 12:19:16 -05:00
mir Auto merge of #66650 - matthewjasper:nonuniform-array-move, r=pnkfelix 2019-12-11 23:00:38 +00:00
query rustc: Apply clearer naming to BodyAndCache, fix Deref impl, remove unneeded Index impl, remove body fn 2019-12-05 22:58:41 -05:00
traits Auto merge of #65345 - davidtwco:issue-64130-async-send-sync-error-improvements, r=nikomatsakis 2019-12-11 19:39:06 +00:00
ty Added ExactSizeIterator bound to return types 2019-12-09 21:16:48 +01:00
util Move duration_to_secs_str to rustc_session 2019-12-03 12:18:32 -05:00
arena.rs rustc: Apply clearer naming to BodyAndCache, fix Deref impl, remove unneeded Index impl, remove body fn 2019-12-05 22:58:41 -05:00
build.rs Remove licenses 2018-12-25 21:08:33 -07:00
Cargo.toml Auto merge of #67016 - lqd:placeholder_loans, r=matthewjasper 2019-12-09 10:50:41 +00:00
lib.rs Use to_option in various places 2019-12-06 12:23:23 +00:00
macros.rs Retire impl_stable_hash_for. 2019-11-22 20:01:48 +01:00
README.md rustc-guide has moved 2018-11-26 15:03:13 -06:00
tests.rs librustc: Unconfigure tests during normal build 2019-08-02 01:59:01 +03:00

For more information about how rustc works, see the rustc guide.