Blocks created by desugaring will not contain an explicit `return`. Do not suggest to add it when the user has no control over the desugared code. Also, ensure that in a `xxx.await` expression, the suggested `return` is emitted before the whole expression, not before the `await` keyword. Fix #14411 changelog: [`implicit_return`]: fix proposed `return` position in the presence of asynchronous code |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| README.md | ||