about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/tools/generate_intrinsics.py
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-08-14 20:16:03 +0200
committerGitHub <noreply@github.com>2022-08-14 20:16:03 +0200
commit59795d0cb275aef6c9bce021492e56f2a218b5b9 (patch)
tree6e77649de55a0a57466b0827cb4963fb5d9ecfaf /compiler/rustc_codegen_gcc/tools/generate_intrinsics.py
parent923fe98241dd172ad83af2c21ff0c4793e868de1 (diff)
parentf6c2816f4779eae60e9d2eb12f72b6450c789864 (diff)
downloadrust-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