autodoc: fix frontend crash while rendering std.mem

Previously we expected to only find decl refs in a `foo.bar.baz`
type of expression. This would crash when trying to render something
like `@typeInfo(T).Int.bits`. We now properly account for builtins
and other components.
622714b76bLoris Cro committed on 8/2/2022, 3:49:36 PMparent14f0b70
1 file changedLine totals unavailable