rust/src/test
Dylan DPC abaa78baeb
Rollup merge of #78748 - fanzier:tuple-assignment, r=petrochenkov
Implement destructuring assignment for tuples

This is the first step towards implementing destructuring assignment (RFC: https://github.com/rust-lang/rfcs/pull/2909, tracking issue: #71126). This PR is the first part of #71156, which was split up to allow for easier review.

Quick summary: This change allows destructuring the LHS of an assignment if it's a (possibly nested) tuple.
It is implemented via a desugaring (AST -> HIR lowering) as follows:
```rust
(a,b) = (1,2)
```
... becomes ...
```rust
{
  let (lhs0,lhs1) = (1,2);
  a = lhs0;
  b = lhs1;
}
```

Thanks to `@varkor` who helped with the implementation, particularly around default binding modes.

r? `@petrochenkov`
2020-11-09 01:13:44 +01:00
..
assembly Add asm! support for mips64 2020-10-04 12:01:21 +00:00
auxiliary
codegen Rollup merge of #77950 - arlosi:sha256, r=eddyb 2020-11-03 19:32:26 +01:00
codegen-units simplify-locals: Remove unused assignments regardless of rvalue kind 2020-10-26 10:48:28 +01:00
compile-fail Add compile fail test for issue 27675 2020-10-08 08:18:59 +02:00
debuginfo BTreeMap: improve gdb introspection of BTreeMap with ZST keys or values 2020-10-14 13:03:23 +02:00
incremental simplify-locals: Remove unused assignments regardless of rvalue kind 2020-10-26 10:48:28 +01:00
mir-opt Rollup merge of #78674 - tmiasko:inline-substs-for-mir-body, r=oli-obk 2020-11-09 01:13:42 +01:00
pretty pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
run-make fix shellcheck error of SC2148 2020-11-06 20:33:12 +09:00
run-make-fulldeps Disable the spanview tests on MacOS for now 2020-11-05 20:24:36 -08:00
run-pass-valgrind Add unsized_fn_params feature 2020-10-27 14:45:02 -03:00
rustdoc Rollup merge of #78727 - liketechnik:issue-55201, r=GuillaumeGomez 2020-11-05 10:29:50 +01:00
rustdoc-js Add test for whitespace in doc alias 2020-10-05 16:37:13 +02:00
rustdoc-js-std
rustdoc-ui Rename lint to non_autolinks 2020-11-05 10:22:08 +01:00
rustfix
ui Rollup merge of #78748 - fanzier:tuple-assignment, r=petrochenkov 2020-11-09 01:13:44 +01:00
ui-fulldeps Replace run_compiler with RunCompiler builder pattern. 2020-10-08 16:11:45 -03:00
COMPILER_TESTS.md