rust/library/core/src/future
bors b6097f2e1b Auto merge of #104219 - bryangarza:async-track-caller-dup, r=eholk
Support `#[track_caller]` on async fns

Adds `#[track_caller]` to the generator that is created when we desugar the async fn.

Fixes #78840

Open questions:
- What is the performance impact of adding `#[track_caller]` to every `GenFuture`'s `poll(...)` function, even if it's unused (i.e., the parent span does not set `#[track_caller]`)? We might need to set it only conditionally, if the indirection causes overhead we don't want.
2022-11-17 13:47:03 +00:00
..
future.rs Rollup merge of #91192 - r00ster91:futuredocs, r=GuillaumeGomez 2022-02-21 19:36:46 +01:00
into_future.rs Stabilize into_future 2022-06-30 17:22:41 +02:00
join.rs Stabilize future_poll_fn 2022-07-16 10:04:14 +09:00
mod.rs Allow and add track_caller to generators 2022-11-09 23:27:14 +00:00
pending.rs Also change PhantomData parameter of iter::Empty, and future::Pending 2022-01-07 01:53:51 +01:00
poll_fn.rs poll_fn and Unpin: fix pinning 2022-10-06 13:51:10 +02:00
ready.rs Implement Ready::into_inner() 2022-08-30 13:39:30 +02:00