about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-11-19 23:58:37 +0100
committerGitHub <noreply@github.com>2020-11-19 23:58:37 +0100
commitacc2e2390114620ba57ea2f80412f7143c903bac (patch)
tree806cab6fd38e719df1179ba0f0d5efacde5f4d9c /compiler/rustc_codegen_llvm/src
parentc2a277c11df99f091217d5e35ca3d548606cf15b (diff)
parent1094f97da0bc3ce63130eac88adc997c68ce59cd (diff)
downloadrust-acc2e2390114620ba57ea2f80412f7143c903bac.tar.gz
rust-acc2e2390114620ba57ea2f80412f7143c903bac.zip
Rollup merge of #79177 - fanzier:drop-order-test, r=RalfJung
Test drop order for (destructuring) assignments

Add a test that checks whether the drop order of `let` bindings is consistent with the drop order of the corresponding destructuring assignments.

Thanks to ```@RalfJung``` for the suggesting this test ([here](https://github.com/rust-lang/rust/pull/79016#issuecomment-727608732)) and an implementation!

r? ```@RalfJung```
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions