rust/src/test
bors b18b9edf00 Auto merge of #52681 - pnkfelix:z-borrowck-migrate, r=nikomatsakis
Add `-Z borrowck=migrate`

This adds `-Z borrowck=migrate`, which represents the way we want to migrate to NLL under Rust versions to come. It also hooks this new mode into `--edition 2018`, which means we're officially turning NLL on in the 2018 edition.

The basic idea of `-Z borrowck=migrate` that there are cases where NLL is fixing old soundness bugs in the borrow-checker, but in order to avoid just breaking code by immediately rejecting the programs that hit those soundness bugs, we instead use the following strategy:

If your code is accepted by NLL, then we accept it.
If your code is rejected by both NLL and the old AST-borrowck, then we reject it.
If your code is rejected by NLL but accepted by the old AST-borrowck, then we emit the new NLL errors as **warnings**.

These warnings will be turned into hard errors in the future, and they say so in these diagnostics.

Fix #46908
2018-07-27 09:10:07 +00:00
..
auxiliary
codegen Add a test for sparc64 ABI issue 2018-07-26 17:55:25 +03:00
codegen-units Revert "Adapt codegen-unit tests to new CGU naming scheme." 2018-07-16 08:58:15 +02:00
compile-fail Auto merge of #52735 - Mark-Simulacrum:rollup, r=Mark-Simulacrum 2018-07-26 17:42:59 +00:00
compile-fail-fulldeps rustc: Stabilize much of the proc_macro feature 2018-07-16 07:58:06 -07:00
debuginfo Remove workarounds for #24958 2018-07-18 13:58:08 +02:00
incremental rustc: Use link_section, not wasm_custom_section 2018-07-16 09:40:45 -07:00
incremental-fulldeps Rename must-compile-successfully into compile-pass 2018-04-13 23:28:03 +02:00
mir-opt patch up mir-opt tests 2018-07-26 15:12:04 +03:00
parse-fail Implement 2015 vs 2018 ? kleene op + test 2018-07-23 21:54:43 -05:00
pretty fix expected output of pretty/cast-lt and issue-4264 tests 2018-07-12 01:19:27 +02:00
run-fail Ensure that borrows wind up unactivated. 2018-07-04 21:35:38 +01:00
run-fail-fulldeps
run-make Auto merge of #52506 - alexcrichton:dont-duplicate-wasm-sections, r=michaelwoerister 2018-07-23 13:42:23 +00:00
run-make-fulldeps Rollup merge of #52723 - alexcrichton:fix-extern-rename-ice, r=estebank 2018-07-26 09:18:41 -06:00
run-pass Rollup merge of #52635 - yodaldevoid:issue_18804, r=oli-obk 2018-07-26 09:18:27 -06:00
run-pass-fulldeps Allow by default, fix tests 2018-07-23 21:55:51 -05:00
run-pass-valgrind Remove some '#[feature]' attributes for stabilized features 2018-06-11 13:48:57 -07:00
rustdoc Auto merge of #52368 - GuillaumeGomez:intra_doc_link_resolution_failure-documented, r=QuietMisdreavus 2018-07-22 10:48:15 +00:00
rustdoc-js Update stdsimd to undo an accidental stabilization 2018-07-20 22:34:09 -07:00
rustdoc-ui add failure-status to rustdoc doctest ui test 2018-07-20 10:13:38 -05:00
rustfix Removed various update-reference and update-all-references scripts 2018-06-13 18:15:50 -04:00
ui Auto merge of #52681 - pnkfelix:z-borrowck-migrate, r=nikomatsakis 2018-07-27 09:10:07 +00:00
ui-fulldeps Auto merge of #52618 - alexcrichton:capture-more, r=petrochenkov 2018-07-24 00:50:15 +00:00
COMPILER_TESTS.md Update docs and diagnostics 2018-05-17 16:28:36 +02:00