const internal/types/errors.InvalidUnion

10 uses

	internal/types/errors (current package)
		code_string.go#L149: 	_ = x[InvalidUnion-141]
		codes.go#L1383: 	InvalidUnion

	go/types
		typeset.go#L406: 				check.errorf(atPos(pos), InvalidUnion, "cannot handle more than %d union terms (implementation limitation)", maxTermCount)
		union.go#L71: 				check.errorf(x, InvalidUnion, "cannot handle more than %d union terms (implementation limitation)", maxTermCount)
		union.go#L101: 					check.errorf(tlist[i], InvalidUnion, "invalid use of ~ (%s is an interface)", t.typ)
		union.go#L106: 					check.errorf(tlist[i], InvalidUnion, "invalid use of ~ (underlying type of %s is %s)", t.typ, u)
		union.go#L119: 					check.errorf(tlist[i], InvalidUnion, "cannot use %s in union (%s contains methods)", t, t)
		union.go#L121: 					check.error(tlist[i], InvalidUnion, "cannot use comparable in union")
		union.go#L123: 					check.errorf(tlist[i], InvalidUnion, "cannot use %s in union (%s embeds comparable)", t, t)
		union.go#L131: 				check.softErrorf(tlist[i], InvalidUnion, "overlapping terms %s and %s", t, terms[j])