diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-08-18 05:10:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-18 05:10:41 +0200 |
| commit | 370bf1543dc1033194403241fbb73d3b8c1d48b3 (patch) | |
| tree | d76d8728ba9503add4a3022454a550a4eb13b39d /src/test/codegen/src-hash-algorithm | |
| parent | 9c20b2a8cc7588decb6de25ac6a7912dcef24d65 (diff) | |
| parent | 0da81997a2652b8a46506cf0a5e4d382ea1f3308 (diff) | |
| download | rust-370bf1543dc1033194403241fbb73d3b8c1d48b3.tar.gz rust-370bf1543dc1033194403241fbb73d3b8c1d48b3.zip | |
Rollup merge of #97962 - eholk:drop-tracking-must-not-suspend, r=cjgillot
Make must_not_suspend lint see through references when drop tracking is enabled See #97333. With drop tracking enabled, sometimes values that were previously linted are now considered dropped and not linted. This change makes must_not_suspend traverse through references to still catch these values. Unfortunately, this leads to duplicate warnings in some cases (e.g. [dedup.rs](https://cs.github.com/rust-lang/rust/blob/9a74608543d499bcc7dd505e195e8bfab9447315/src/test/ui/lint/must_not_suspend/dedup.rs#L4)), so we only use the new behavior when drop tracking is enabled. cc ``@guswynn``
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
