multiple_unsafe_ops_per_block
false positive when future is awaited inside unsafe block
#13879
Labels
C-bug
Category: Clippy is not doing the correct thing
Summary
multiple_unsafe_ops_per_block
lint complains about multiple unsafe op calls if future is awaited inside unsafe blockThat is, the following code complains about 2 unsafe ops in the unsafe block containing the
await
, despite there being no visible unsafety in user codeReproducer
Version
Reproduced in rust playground
Additional Labels
No response
The text was updated successfully, but these errors were encountered: