mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-15 17:28:07 +00:00
1ebdcca8b9
Previously, async constructs would be lowered to "normal" generators, with an additional `from_generator` / `GenFuture` shim in between to convert from `Generator` to `Future`. The compiler will now special-case these generators internally so that async constructs will *directly* implement `Future` without the need to go through the `from_generator` / `GenFuture` shim. The primary motivation for this change was hiding this implementation detail in stack traces and debuginfo, but it can in theory also help the optimizer as there is less abstractions to see through. |
||
---|---|---|
.. | ||
blocks.rs | ||
blocks.stdout | ||
call.rs | ||
call.stdout | ||
if.rs | ||
if.stdout | ||
issue_3849.rs | ||
issue_3849.stdout | ||
loop.rs | ||
loop.stdout | ||
matches.rs | ||
matches.stdout | ||
repeat.rs | ||
repeat.stdout | ||
struct.rs | ||
struct.stdout |