about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
diff options
context:
space:
mode:
authorLily Mara <lilymara@onesignal.com>2022-04-14 16:52:10 -0700
committerLily Mara <lilymara@onesignal.com>2022-04-15 14:39:10 -0700
commit4844325faf392beb47c6e6d3231dfbba55f926c2 (patch)
tree68b4b29d70aef9fef1f42b3197111598823791c9 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
parentaade96f9028ad3031d92de1c8a127f1e1d24a9fc (diff)
downloadrust-4844325faf392beb47c6e6d3231dfbba55f926c2.tar.gz
rust-4844325faf392beb47c6e6d3231dfbba55f926c2.zip
Add `await_holding_invalid_type` lint
changelog: [`await_holding_invalid_type`]

This lint allows users to create a denylist of types which are not allowed to be
held across await points. This is essentially a re-implementation of the
language-level [`must_not_suspend`
lint](https://github.com/rust-lang/rust/issues/83310). That lint has a lot of
work still to be done before it will reach Rust stable, and in the meantime
there are a lot of types which can trip up developers if they are used
improperly.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions