rust/src/test
bors a9c1c04e98 Auto merge of #67241 - mark-i-m:simplify-borrow_check-3, r=matthewjasper
Refactorings to borrowck region diagnostic reporting

This PR is a followup to #66886 and #67404

EDIT: updated

In this PR:  Clean up how errors are collected from NLL: introduce `borrow_check::diagnostics::RegionErrors` to collect errors. This is later passed to `MirBorrowckCtx::report_region_errors` after the `MirBorrowckCtx` is created. This will allow us to refactor away some of the extra context structs floating around (but we don't do it in this PR).  `borrow_check::region_infer` is now mostly free of diagnostic generating code. The signatures of most of the functions in `region_infer` lose somewhere between 4 and 7 arguments :)

Left for future (feedback appreciated):

- Merge `ErrorRegionCtx` with `MirBorrowckCtx`, as suggested by @matthewjasper in https://github.com/rust-lang/rust/pull/66886#issuecomment-559949499
- Maybe move the contents of `borrow_check::nll` into `borrow_check` and remove the `nll` submodule altogether.
- Find a way to make `borrow_check::diagnostics::region_errors` less of a strange appendage to `RegionInferenceContext`. I'm not really sure how to do this yet. Ideas welcome.
2019-12-24 18:02:10 +00:00
..
assembly
auxiliary
codegen Revert "Remove #![feature(never_type)] from tests." 2019-12-14 09:01:04 -05:00
codegen-units Update test output. 2019-10-25 14:52:39 +02:00
compile-fail Auto merge of #66927 - RalfJung:engines-dont-panic, r=oli-obk 2019-12-07 14:46:30 +00:00
debuginfo debuginfo: Support for std::collections::Hash* in windows debuggers. 2019-11-20 19:27:42 -08:00
incremental General purpose teest cases contributed by mw. 2019-12-20 04:47:28 +01:00
mir-opt Rollup merge of #67333 - wesleywiser:fix_inline_into_box_place, r=oli-obk 2019-12-21 19:07:36 +01:00
pretty ast_stmt_expr_attr -> pretty & ui tests 2019-12-20 22:53:40 +01:00
run-fail [const-prop] Handle MIR Rvalue::Aggregates 2019-10-18 06:29:57 -04:00
run-make Fix handling of wasm import modules and names 2019-12-16 14:43:46 -08:00
run-make-fulldeps Remove mem::uninitalized from tests 2019-12-22 21:58:12 -05:00
run-pass-valgrind
rustdoc Show value for consts in the documentation 2019-12-24 10:10:36 +01:00
rustdoc-js
rustdoc-js-std
rustdoc-ui rustdoc: Add test for fixed issue 2019-12-04 01:31:35 +00:00
rustfix
ui Auto merge of #67241 - mark-i-m:simplify-borrow_check-3, r=matthewjasper 2019-12-24 18:02:10 +00:00
ui-fulldeps Add span information to ExprKind::Assign 2019-12-23 11:20:13 +00:00
COMPILER_TESTS.md