Associated Type Refs of qualified paths dont resolve #8282
Labels
A-nameres
name, path and module resolution
S-actionable
Someone could pick this issue up and work on it right now
Given
Hovering over of
Assoc
in the type ascription in the let binding shows the unit type as it falls back to the type of the function body, hovering over the Assoc in the path expression showsfn default<usize>() -> usize
. Both cases should be showingusize
instead.From a quick look at thing we seem to drop generic arguments for paths when resolving them I think which seems wrong?
Side note: noticed this when checking how we handle the snippet from this rust issue rust-lang/rust#79658 (which doesn't show type hints which is probably a different issue)
The text was updated successfully, but these errors were encountered: