blob: c2b460902cc643b5537834e489f3213f551fe6f7 (
plain)
1
2
3
4
5
6
7
8
9
|
// Copyright 2020 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.
package p
type T[P any] interface{
P // ERROR P is a type parameter, not an interface
}
|