blob: c3e9e34b87414a3c80ae79869cb38e80970993e9 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// 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.
package p
type Builder[T interface{ struct{ Builder[T] } }] struct{}
type myBuilder struct {
Builder[myBuilder /* ERROR myBuilder does not satisfy */]
}
|