# Polish Issue Notes ## General Notes ### Miscellaneous Issues - ⭐Indexing via `index` method and `[idx]` sugar works differently in async blocks/functions [#72956] - pnkfelix might have a fix already, see comments on issue - ⭐E0623 highlights wrong parameter in async fn [#74256] - ⭐Too many type inside async object must be known in this context errors [#66445] - Lots of improvements since the issue was opened. Maybe we can close it? - ⭐Confusing error: Immutable reference to future is not a future [#87211] - Still gives essentially the same error message. Probably relatively low hanging fruit. ### Trait and Inference issues - Async function leads to a "more general type" error [#71723] - compiler-errors might have had a partial solution to this a year ago... Arguably, generator capture issues fit here too. ### Lifetime issues - Async fn does not compile if lifetime does not appear in bounds (sometimes) [#63033] - Unclear lifetime error in closure producing a future [#74497] - Probably best solved by introducing async closures and suggesting one here. ### Generator capture issues Includes [#57017], [#57478], [#69663], and others. Two almost-done solutions. Drop tracking has a long tail of issues. MIR-based analysis seems to work now but it potentially prevents specialization (what's the status from T-Types about this issue?). ## From Project Board ### In Progress #### `must_not_suspend` lint (#83310) Depends on generator captures being fixed first. ### Claimed ### On Deck [#57017]: https://github.com/rust-lang/rust/issues/57478 [#57478]: https://github.com/rust-lang/rust/issues/57478 [#63033]: https://github.com/rust-lang/rust/issues/63033 [#66445]: https://github.com/rust-lang/rust/issues/66445 [#69663]: https://github.com/rust-lang/rust/issues/69663 [#71723]: https://github.com/rust-lang/rust/issues/71723 [#72956]: https://github.com/rust-lang/rust/issues/72956 [#74256]: https://github.com/rust-lang/rust/issues/74256 [#74497]: https://github.com/rust-lang/rust/issues/74497 [#87211]: https://github.com/rust-lang/rust/issues/87211