gotools/gopls/internal/analysis/useany/testdata/src/a/a.go.golden

// Copyright 2021 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// This file contains tests for the useany checker.

package a

type Any interface{}

func _[T any]()           {} // want "could use \"any\" for this empty interface"
func _[X any, T any]()    {} // want "could use \"any\" for this empty interface"
func _[any interface{}]() {} // want "could use \"any\" for this empty interface"
func _[T any]()           {} // want "could use \"any\" for this empty interface"
func _[T any]()           {} // want "could use \"any\" for this empty interface"
func _[T any]()           {} // want "could use \"any\" for this empty interface"
func _[T any]()           {}

type _[T any] int           // want "could use \"any\" for this empty interface"
type _[X any, T any] int    // want "could use \"any\" for this empty interface"
type _[any interface{}] int // want "could use \"any\" for this empty interface"
type _[T any] int           // want "could use \"any\" for this empty interface"
type _[T any] int           // want "could use \"any\" for this empty interface"
type _[T any] int           // want "could use \"any\" for this empty interface"
type _[T any] int