-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
A-lintArea: New lintsArea: New lintsL-correctnessLint: Belongs in the correctness lint groupLint: Belongs in the correctness lint group
Description
I'm explicitly creating the new issue at the suggestion of #4226. My plan is to write this myself next week, and it seems like it won't be too hard based on #5439. It is almost always a bug to hold onto a RefCell ref across an await point.
@glommer requests such a thing in this blog post: https://medium.com/@glaubercosta_11125/c-vs-rust-an-async-thread-per-core-story-28c4b43c410c
Another blog post referencing this type of bug: https://ferrous-systems.com/blog/zero-sized-references/
flip1995, ParkMyCar, bblum, Kobzol, andrewgazelka and 1 more
Metadata
Metadata
Assignees
Labels
A-lintArea: New lintsArea: New lintsL-correctnessLint: Belongs in the correctness lint groupLint: Belongs in the correctness lint group