diff options
| author | Matthew Jasper <mjjasper1@gmail.com> | 2021-09-05 18:50:55 +0100 |
|---|---|---|
| committer | Matthew Jasper <mjjasper1@gmail.com> | 2021-09-05 18:50:55 +0100 |
| commit | ad7f109bfaa92f84bbcdbb5d376edfd8e66812fd (patch) | |
| tree | b686b8a93653fdb039610e2e20bac2b9b6e9ac1a /src/test/rustdoc-ui/coverage/enum-tuple-documented.rs | |
| parent | 226e181b80fa0be755872b66916ef7e704601ec2 (diff) | |
| download | rust-ad7f109bfaa92f84bbcdbb5d376edfd8e66812fd.tar.gz rust-ad7f109bfaa92f84bbcdbb5d376edfd8e66812fd.zip | |
Change scope of temporaries in match guards
Each pattern in a match arm has its own copy of the match guard in MIR, with its own temporary, so it has to be dropped before the the guards are joined to the single copy of the arm.
Diffstat (limited to 'src/test/rustdoc-ui/coverage/enum-tuple-documented.rs')
0 files changed, 0 insertions, 0 deletions
