1
Fork 0
rust/src/test
bors 826d8f3850 Auto merge of #41914 - eddyb:region-refactor, r=nikomatsakis
rustc: simpler ParameterEnvironment and free regions.

The commits describe the slow transformation but the highlights are:
* `ReEarlyBound` is considered free, with a scope based on the item that defined the lifetime parameter, and the root body of the `RegionMaps` in use, removing the need for `free_substs`
* `liberate_late_bound_regions` and `implicit_region_bound` moved to typeck
* `CodeExtent` not interned at all now - ideally it would be 2 `u32` but it's small anyway

Future work building up on this could include:
* `ParameterEnvironment` becoming just the result of `predicates_of`
  * interning makes my "parent chain" scheme unnecessary
* `implicit_region_bound` could be retrieved from `RegionMaps`
* renaming `CodeExtent` to `Scope`
  * generalizing "call site" to "use site" or something better to include constants
* renaming `RegionMaps` to `ScopeTree` and its API to talk about "parents" explicitly
2017-05-13 17:56:09 +00:00
..
codegen
codegen-units
compile-fail rustc: treat ReEarlyBound as free without replacing it with ReFree. 2017-05-13 17:42:59 +03:00
compile-fail-fulldeps
debuginfo
incremental ICH: Handle case of removed FileMaps. 2017-05-10 12:35:36 +02:00
mir-opt simplify the MirPass traits and passes dramatically 2017-05-02 14:01:01 -04:00
parse-fail Allow bare CR in ////-style comment. 2017-05-08 22:29:24 +09:00
pretty
run-fail
run-fail-fulldeps
run-make Rollup merge of #41520 - estebank:trace-macro, r=nikomatsakis 2017-05-08 22:34:47 -04:00
run-pass Auto merge of #41920 - arielb1:inline-drop, r=eddyb 2017-05-13 13:59:19 +00:00
run-pass-fulldeps add regression test for issue #24106 2017-05-04 19:34:48 -04:00
run-pass-valgrind
rustdoc Allow # to appear in rustdoc code output. 2017-05-06 18:07:04 -06:00
ui rustc: use DefId instead of CodeExtent for FreeRegion's scope. 2017-05-13 17:42:59 +03:00
ui-fulldeps/custom-derive
COMPILER_TESTS.md