rust/src/librustc_mir
bors 8a28d94ea1 Auto merge of #49900 - pnkfelix:compare-mode-nll-followup-3, r=nikomatsakis
Add src/test/ui regression testing for NLL

This PR changes `x.py test` so that when you are running the `ui` test suite, it will also always run `compiletest` in the new `--compare-mode=nll`, which just double-checks that when running under the experimental NLL mode, the output matches the `<source-name>.nll.stderr` file, if present.

In order to reduce the chance of a developer revolt in response to this change, this PR also includes some changes to make the `--compare-mode=nll` more user-friendly:

 1. It now generates nll-specific .stamp files, and uses them (so that repeated runs can reuse previously cached results).
 2. Each line of terminal output distinguishes whether we are running under `--compare-mode=nll` by printing with the prefix `[ui (nll)]` instead of just the prefix `[ui]`.

Subtask of rust-lang/rust#48879
2018-04-19 11:13:10 +00:00
..
borrow_check Work around rust-lang/rust#49998 with experimental code that does less updating of cause map. 2018-04-18 15:37:30 +02:00
build Get rid of `SpannedIdent` 2018-04-06 11:48:19 +03:00
dataflow remove -Znll -- borrowck=mir implies nll now 2018-04-15 07:13:42 -04:00
hair Sign extend constants in range patterns 2018-04-19 09:01:27 +02:00
interpret Sign extend constants in range patterns 2018-04-19 09:01:27 +02:00
monomorphize Stop referring to statics' AllocIds directly 2018-04-14 12:21:46 +02:00
transform Auto merge of #49202 - csmoe:trait_engine, r=nikomatsakis 2018-03-27 14:31:43 +00:00
util Add ok-wrapping to catch blocks, per RFC 2018-04-10 20:03:40 -07:00
Cargo.toml Move librustc_const_eval to librustc_mir 2018-03-08 08:08:14 +01:00
diagnostics.rs Make resuming generators unsafe instead of the creation of immovable generators. Fixes #47787 2018-03-21 00:09:58 +01:00
lib.rs relocate `BorrowData` etc into `borrow_check::borrow_set` 2018-04-15 07:06:27 -04:00
shim.rs remove defaulting to unit 2018-03-14 12:44:51 +08:00