rust/src/test
bors 3a8108d8e5 Auto merge of #69113 - ecstatic-morse:unified-dataflow-borrowed, r=wesleywiser
Combine `HaveBeenBorrowedLocals` and `IndirectlyMutableLocals` into one dataflow analysis

This PR began as an attempt to port `HaveBeenBorrowedLocals` to the new dataflow framework (see #68241 for prior art). Along the way, I noticed that it could share most of its code with `IndirectlyMutableLocals` and then found a few bugs in the two analyses:
- Neither one marked locals as borrowed after an `Rvalue::AddressOf`.
- `IndirectlyMutableLocals` was missing a minor fix that `HaveBeenBorrowedLocals` got in #61069. This is not a problem today since it is only used during const-checking, where custom drop glue is forbidden. However, this may change some day.

I decided to combine the two analyses so that they wouldn't diverge in the future while ensuring that they remain distinct types (called `MaybeBorrowedLocals` and `MaybeMutBorrowedLocals` to be consistent with the `Maybe{Un,}InitializedPlaces` naming scheme). I fixed the bugs and switched to exhaustive matching where possible to make them less likely in the future. Finally, I added comments explaining some of the finer points of the transfer function for these analyses (see #61069 and #65006).
2020-02-19 04:57:10 +00:00
..
assembly
auxiliary Auto merge of #68452 - msizanoen1:riscv-abi, r=nagisa,eddyb 2020-02-08 18:10:48 +00:00
codegen Add support for new pass manager 2020-02-12 15:34:16 +01:00
codegen-units Make drop-glue take advantage of -Zshare-generics. 2020-01-23 13:15:15 +01:00
compile-fail Diagnostics should not end with a full stop 2020-01-12 15:37:50 +00:00
debuginfo Ignore GDB versions with broken str printing. 2020-02-16 17:49:45 -07:00
incremental Move the krate method to Hir and remove the Krate dep node 2020-02-06 13:23:32 +01:00
mir-opt suspend -> yield 2020-02-16 13:08:36 +01:00
pretty parser: unify item list parsing. 2020-02-13 15:16:29 +01:00
run-fail Add a resume type parameter to Generator 2020-02-02 13:20:57 +01:00
run-make Auto merge of #67878 - Others:opt-3, r=Mark-Simulacrum 2020-01-31 00:03:55 +00:00
run-make-fulldeps Rollup merge of #69146 - matthewjasper:literal-qualif, r=eddyb 2020-02-18 22:16:23 +01:00
run-pass-valgrind
rustdoc Record proc macro harness order for use during metadata deserialization 2020-02-15 15:48:36 -05:00
rustdoc-js Add tests for struct variant field in search 2020-02-02 19:18:31 +01:00
rustdoc-js-std
rustdoc-ui --bless --compare-mode=nll 2020-02-09 20:43:49 +01:00
rustfix
ui Auto merge of #69113 - ecstatic-morse:unified-dataflow-borrowed, r=wesleywiser 2020-02-19 04:57:10 +00:00
ui-fulldeps Rename FunctionRetTy to FnRetTy 2020-02-17 11:24:29 +09:00
COMPILER_TESTS.md