about summary refs log tree commit diff
path: root/tests/ui/async-await/track-caller
AgeCommit message (Collapse)AuthorLines
2024-12-14Rollup merge of #134181 - estebank:trim-render, r=oli-obkMatthias Krüger-4/+2
Tweak multispan rendering to reduce output length Consider comments and bare delimiters the same as an "empty line" for purposes of hiding rendered code output of long multispans. This results in more aggressive shortening of rendered output without losing too much context, specially in `*.stderr` tests that have "hidden" comments. We do that check not only on the first 4 lines of the multispan, but now also on the previous to last line as well.
2024-12-13Stabilize async closuresMichael Goulet-2/+2
2024-12-12Tweak multispan renderingEsteban Küber-4/+2
Consider comments and bare delimiters the same as an "empty line" for purposes of hiding rendered code output of long multispans. This results in more aggressive shortening of rendered output without losing too much context, specially in `*.stderr` tests that have "hidden" comments.
2024-06-27Tighten spans for async blocksMichael Goulet-4/+4
2024-04-10Use suggest_impl_trait in return type suggestionMichael Goulet-4/+4
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-10/+10
2024-01-13Bless testsGeorge-lewis-0/+22
Update tests
2024-01-09Avoid silencing relevant follow-up errorsOli Scherer-10/+80
2023-08-02Add separate feature gate for async fn track callerBryan Garza-49/+299
This patch adds a feature gate `async_fn_track_caller` that is separate from `closure_track_caller`. This is to allow enabling `async_fn_track_caller` separately. Fixes #110009
2023-03-08Remove `identity_future` indirectionArpad Borsos-9/+22
This was previously needed because the indirection used to hide some unexplained lifetime errors, which it turned out were related to the `min_choice` algorithm. Removing the indirection also solves a couple of cycle errors, large moves and makes async blocks support the `#[track_caller]` annotation.
2023-01-11Move /src/test to /testsAlbert Larsan-0/+195