diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-08-14 20:16:03 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-14 20:16:03 +0200 |
| commit | 59795d0cb275aef6c9bce021492e56f2a218b5b9 (patch) | |
| tree | 6e77649de55a0a57466b0827cb4963fb5d9ecfaf /compiler/rustc_codegen_gcc/tools/generate_intrinsics.py | |
| parent | 923fe98241dd172ad83af2c21ff0c4793e868de1 (diff) | |
| parent | f6c2816f4779eae60e9d2eb12f72b6450c789864 (diff) | |
| download | rust-59795d0cb275aef6c9bce021492e56f2a218b5b9.tar.gz rust-59795d0cb275aef6c9bce021492e56f2a218b5b9.zip | |
Rollup merge of #100526 - Nilstrieb:tests!, r=Mark-Simulacrum
Add tests for the drop behavior of some control flow constructs In #100513 it was shown that the drop behaviour of let_chains is not correct currently. Since drop behaviour is something pretty subtle, this adds explicit tests for the drop behavior of `if`, `if let` and `match` to make sure that it does not regress in the future. The `println!`s were left in to make debugging easier in case something goes wrong, but they are not required for the test.
Diffstat (limited to 'compiler/rustc_codegen_gcc/tools/generate_intrinsics.py')
0 files changed, 0 insertions, 0 deletions
