about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff
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 /tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff
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 'tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions