UndeclaredImportedName occurs when a package-qualified identifier is undeclared by the imported package. Example: import "go/types" var _ = types.NotAnActualIdentifier