diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-12-06 21:52:32 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-06 21:52:32 +0100 |
| commit | 1b391d4ae46e48bac50fc8817c631b2f57c8e307 (patch) | |
| tree | 1ac548de766fc9140f9965e08bcb8206b55b137e /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs | |
| parent | aefbbc6dc6d105ce25cca2d93074f66290ca2d3a (diff) | |
| parent | d1009a42d820ded1d446c62d3acb69dffc5117c8 (diff) | |
| download | rust-1b391d4ae46e48bac50fc8817c631b2f57c8e307.tar.gz rust-1b391d4ae46e48bac50fc8817c631b2f57c8e307.zip | |
Rollup merge of #118504 - compiler-errors:must-use, r=WaffleLapkin
Enforce `must_use` on associated types and RPITITs that have a must-use trait in bounds Warn when an RPITIT or (un-normalized) associated type with a `#[must_use]` trait in its bounds is unused. This is pending T-lang approval, since it changes the semantics of the `#[must_use]` attribute slightly, but I think it strictly catches more strange errors. I could also limit this to just RPITITs, but that seems less useful. Fixes #118444
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions
