-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracking Issue for #[track_caller]
on async fn
#110011
Comments
FYI @tmandry |
@rustbot label +T-lang |
@rust-lang/wg-async discussed in this zulip thread. We were leaning toward tracking the original caller rather than the poller, based on the use case we knew about (assertion helpers). If there are other use cases or points of agreement/disagreement with this, please leave them in the linked zulip thread. |
Another idea worth revisiting here may be: It might still be worth doing that, specifically to split that into its own |
This is a tracking issue for
#[track_caller]
on async fn.The feature gate
#[feature(async_fn_track_caller)]
for the issue is not implemented yet (#110009)About tracking issues
Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.
Steps
#[track_caller]
on async fn #110009Unresolved Questions
(Copied over from: #87417 (comment))
It's not 100% clear that tracking the poller, rather than the original caller, is the ideal behavior. That said, we may still be able to resolve the question without an RFC.
Arguments in favor of tracking the poller (current behavior):
Arguments in favor of tracking the original caller instead of the poller:
Implementation history
#[track_caller]
on async fns #104219#[track_caller]
back to a no-op unless feature gate is enabled #104741The text was updated successfully, but these errors were encountered: