summary refs log tree commit diff
path: root/src/test/ui/chalkify/bugs
AgeCommit message (Collapse)AuthorLines
2022-11-26Pretty-print generators with their `generator_kind`Arpad Borsos-11/+11
After removing `GenFuture`, I special-cased async generators to pretty-print as `impl Future<Output = X>` mainly to avoid too much diagnostics changes originally. This now reverses that change so that async fn/blocks are pretty-printed as `[$movability `async` $something@$source-position]` in various diagnostics, and updates the tests that this touches.
2022-11-24Avoid `GenFuture` shim when compiling async constructsArpad Borsos-12/+27
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-06-29Make RPIT and TAIT work exactly the sameOli Scherer-6/+3
2022-06-26compiletest: add issue number param to `known-bug`David Knaack-1/+1
2022-05-27libcore: Add `iter::from_generator` which is like `iter::from_fn`, but for ↵Vadim Petrochenkov-4/+4
coroutines instead of functions
2022-03-30Restore `impl Future<Output = Type>` to async blocksMichael Goulet-1/+1
2022-03-28rebase falloutOli Scherer-1/+1
2022-03-28Bless ui testsOli Scherer-1/+10
2022-03-28Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk"Oli Scherer-7/+1
This reverts commit 6499c5e7fc173a3f55b7a3bd1e6a50e9edef782d, reversing changes made to 78450d2d602b06d9b94349aaf8cece1a4acaf3a8.
2022-03-22remove [async output] from impl FutureMichael Goulet-1/+1
2022-02-22chalk: add known-bug test that was previously ICEing.Dario Nieuwenhuis-0/+48