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
relevant settings: Check command is clippy, all other RA settings are default.
to replicate:
structX{// hover over `X` and you get "// size = 8, align = 0x8"x:Box<f32>,// hover over `Box`, no layout data}
I believe this is because the template args are not being taken into account on hover so instead of it being Box<f32> it's just Box. Not sure if this is intended behavior but seems like an oversight to not have that info available.
The text was updated successfully, but these errors were encountered:
it's definitely something we want to support, but that requires some bigger changes. Most of the ide featurse that work in those positions forget about substitutions.
lnicola
added
the
A-ty
type system / type inference / traits / method resolution
label
Jun 8, 2023
rust-analyzer version: 0.3.1541-standalone (2f1b7ce 2023-06-04)
rustc version: rustc 1.72.0-nightly (a97c36dd2 2023-06-07)
relevant settings: Check command is clippy, all other RA settings are default.
to replicate:
I believe this is because the template args are not being taken into account on hover so instead of it being
Box<f32>
it's justBox
. Not sure if this is intended behavior but seems like an oversight to not have that info available.The text was updated successfully, but these errors were encountered: