Skip to content

Parameter and chaining inlay hints don't work within #[tracing::instrument] #19944

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

Open
ChayimFriedman2 opened this issue Jun 8, 2025 · 2 comments
Labels
A-proc-macro proc macro C-bug Category: bug

Comments

@ChayimFriedman2
Copy link
Contributor

This works now after #19839.

However, #[tracing::instrument] still does not work. So we have another bug here, probably something to do with the spans. I will close this issue, and open another one about that.

Originally posted by @ChayimFriedman2 in #19834

@jplatte
Copy link
Contributor

jplatte commented Jun 8, 2025

Note that tracing-attributes v0.1.29 just changed how the spans work a little bit. Did you test with that version or an older one?

@ChayimFriedman2
Copy link
Contributor Author

I checked now with the latest version and it didn't work (although from a strict point of view, even if only old versions would fail we still would have a bug, just a bug that less users will hit).

@ShoyuVanilla ShoyuVanilla added C-bug Category: bug A-proc-macro proc macro labels Jun 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-proc-macro proc macro C-bug Category: bug
Projects
None yet
Development

No branches or pull requests

3 participants