Closed
Description
struct S;
(S,).0;
Hovering the 0
index here triggers a type based hover which kind of works, but is not quite right.
More importantly though we fail to support downmapped tuple index accesses like in
assert!((S,).0 == (S,).0);
the 0
are getting highlighted as unresolved references.
This because we do not record these field accesses in the inference result due to them not having a declaration site as tuples are a builtin type with no declaration.