rust/tests/ui/author
Arpad Borsos 1ebdcca8b9 Avoid GenFuture shim when compiling async constructs
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.
2022-11-24 10:04:27 +01:00
..
blocks.rs
blocks.stdout Avoid GenFuture shim when compiling async constructs 2022-11-24 10:04:27 +01:00
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