summaryrefslogtreecommitdiff
path: root/src/cmd/vet/method.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/vet/method.go')
-rw-r--r--src/cmd/vet/method.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/cmd/vet/method.go b/src/cmd/vet/method.go
index 562742e5a..bf982dc7a 100644
--- a/src/cmd/vet/method.go
+++ b/src/cmd/vet/method.go
@@ -160,10 +160,3 @@ func (f *File) matchParamType(expect string, actual ast.Expr) bool {
printer.Fprint(&f.b, f.fset, actual)
return f.b.String() == expect
}
-
-func (t *BadTypeUsedInTests) Scan(x fmt.ScanState, c byte) { // ERROR "should have signature Scan"
-}
-
-type BadInterfaceUsedInTests interface {
- ReadByte() byte // ERROR "should have signature ReadByte"
-}