about summary refs log tree commit diff
path: root/tests/coverage/mcdc/non_control_flow.rs
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2024-09-18 14:49:20 +0200
committerSamuel Tardieu <sam@rfc1149.net>2024-09-18 15:27:04 +0200
commita47e9b6c54adb5a9577e6394a8ba4b98aac55f21 (patch)
treeeaa4844c9fb3c23ed983dbad788d4822d20f208f /tests/coverage/mcdc/non_control_flow.rs
parent82d17a4db3a010caa947d49245de63a7ac14accf (diff)
downloadrust-a47e9b6c54adb5a9577e6394a8ba4b98aac55f21.tar.gz
rust-a47e9b6c54adb5a9577e6394a8ba4b98aac55f21.zip
doc: the source of `LetStmt` can also be `AssignDesugar`
For example, the two following statements are desugared into a block
whose `LetStmt` source is `AssignDesugar`:

```rust
_ = ignoring_some_result();
(a, b) = (b, a);
```
Diffstat (limited to 'tests/coverage/mcdc/non_control_flow.rs')
0 files changed, 0 insertions, 0 deletions