rust/src/test
bors fc81e36242 Auto merge of #53327 - wesleywiser:wip_optimize_nll, r=nikomatsakis
[nll] teach SCC about `'static`

r? @nikomatsakis

I think this is right? I am seeing better performance on the `html5ever` benchmark but I'd like a perf run to quantify the exact speedup. There's a few ui tests failing due to changes in the error messages. The main issue seems to be that returns aren't being detected correctly?

`mir_check_cast_unsize.rs` before:

```
error: unsatisfied lifetime constraints
  --> mir_check_cast_unsize.rs:17:46
   |
17 |   fn bar<'a>(x: &'a u32) -> &'static dyn Debug {
   |  ________--____________________________________^
   | |        |
   | |        lifetime `'a` defined here
18 | |     //~^ ERROR unsatisfied lifetime constraints
19 | |     x
20 | |     //~^ WARNING not reporting region error due to nll
21 | | }
   | |_^ return requires that `'a` must outlive `'static`
```

`mir_check_cast_unsize.rs` after:

```
error: unsatisfied lifetime constraints
  --> mir_check_cast_unsize.rs:19:5
   |
17 | fn bar<'a>(x: &'a u32) -> &'static dyn Debug {
   |        -- lifetime `'a` defined here
18 |     //~^ ERROR unsatisfied lifetime constraints
19 |     x
   |     ^ cast requires that `'a` must outlive `'static`
```
2018-09-07 17:56:23 +00:00
..
auxiliary
codegen
codegen-units
compile-fail
compile-fail-fulldeps
debuginfo
incremental
incremental-fulldeps
mir-opt Fix tests 2018-09-06 22:57:05 -04:00
parse-fail
pretty
run-fail
run-fail-fulldeps
run-make
run-make-fulldeps
run-pass Rollup merge of #53994 - pnkfelix:issue-53764-migrate-run-pass-dirs-to-ui, r=alexcrichton 2018-09-07 18:14:05 +08:00
run-pass-fulldeps
run-pass-valgrind
rustdoc
rustdoc-js
rustdoc-ui
rustfix
ui Auto merge of #53327 - wesleywiser:wip_optimize_nll, r=nikomatsakis 2018-09-07 17:56:23 +00:00
ui-fulldeps
COMPILER_TESTS.md