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
..
2022-11-16 09:41:28 +11:00
2022-11-17 13:47:03 +00:00
2022-11-16 09:41:28 +11:00
2022-11-13 14:04:42 +00:00
2022-11-16 09:41:28 +11:00
2022-11-16 10:13:29 +01:00
2022-11-17 01:56:24 +00:00
2022-11-17 01:56:24 +00:00
2022-11-17 07:42:27 +00:00
2022-11-16 10:13:29 +01:00
2022-11-11 13:02:37 +00:00
2022-11-09 15:39:07 -05:00
2022-11-15 10:44:12 +01:00
2022-11-16 15:39:45 +01:00
2022-11-14 19:26:16 +01:00
2022-11-16 23:03:14 +00:00
2022-11-15 10:44:12 +01:00
2022-11-13 14:06:51 +00:00
2022-11-17 07:42:27 +00:00
2022-11-13 14:06:51 +00:00
2022-11-17 07:42:27 +00:00
2022-11-12 12:02:52 +05:30
2022-11-09 02:54:51 -06:00
2022-11-16 09:41:28 +11:00
2022-11-17 07:42:27 +00:00
2022-11-15 21:16:11 +01:00
2022-11-15 17:53:50 +00:00
2022-11-17 07:42:27 +00:00
2022-11-17 07:42:27 +00:00
2022-11-17 07:42:27 +00:00
2022-11-12 20:32:09 +01:00
2022-11-17 07:42:27 +00:00
2022-11-16 10:13:29 +01:00
2022-11-16 23:03:14 +00:00
2022-11-15 14:28:20 +09:00
2022-11-17 07:42:27 +00:00
2022-11-13 14:06:51 +00:00
2022-11-11 13:02:37 +00:00
2022-11-14 19:26:19 +01:00
2022-11-13 14:06:51 +00:00
2022-11-16 09:41:28 +11:00
2022-11-15 10:44:12 +01:00
2022-11-16 15:39:45 +01:00
2022-11-17 07:42:27 +00:00
2022-11-13 19:53:44 +00:00
2022-11-13 12:23:53 +01:00