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
So I investigated this a bit and this is caused by the tokio::test macro.
ChayimFriedman2
changed the title
Inlay type hints didn't show for chained expressions
Inlay type hints didn't show for chained expressions in attribute macros
Jan 7, 2025
Odd, the spans of those expressions shouldn't be re-used so I'd expect this to work. I guess we do the upmapping a bit weirdly in the chaining hints? (the macro handling in hints is a bit chaotic anyways iirc)
rust-analyzer version:
rust-analyzer version: 0.3.2162-standalone (3b3a87fe9 2024-10-27)
rustc version:
rustc 1.82.0 (f6e511eec 2024-10-15)
editor or extension:
Vs-Code
relevant settings: (eg. client settings, or environment variables like
CARGO
,RUSTC
,RUSTUP_HOME
orCARGO_HOME
)repository link (if public, optional): (eg. rust-analyzer)
code snippet to reproduce:
Type hints didn't show after first line of chained expressions.

The text was updated successfully, but these errors were encountered: