You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#[tracing::instrument]fnfoobar(){// ↑↑ Hover or trigger docs on `foobar`// See how it shows:// `let __tracing_attr_fake_return: ()`// instead of function signature// `fn foobar()`}
I would expect to see the function signature of fn foobar but I have the signature of tracing's macro let variable.
code snippet to reproduce (repro link below):
I would expect to see the function signature of
fn foobar
but I have the signature oftracing
's macro let variable.You can check macro expansion here : https://github.com/mrnossiom/ra-show-docs-macro/blob/main/expansion.rs
Meta
rust-analyzer 1.77.1 (7cf61eb 2024-03-27)
rustc 1.77.1 (7cf61ebde 2024-03-27)
helix 24.3 (2cadec0b)
The text was updated successfully, but these errors were encountered: