Regression test for golang/go#67142.

-- flags --
-ignore_extra_diags

-- settings.json --
{
	"hints": {
		"assignVariableTypes": true,
		"compositeLiteralFields": true,
		"compositeLiteralTypes": true,
		"constantValues": true,
		"functionTypeParameters": true,
		"parameterNames": true,
		"rangeVariabletypes": true
	}
}

-- go.mod --
module w

go 1.21.9

-- p.go --
//@inlayhints(out)
package p

var _ = rand.Float64()

-- @out --
//@inlayhints(out)
package p

var _< invalid type> = rand.Float64()

