diff options
Diffstat (limited to 'tools/checklocks/test/incompat.go')
-rw-r--r-- | tools/checklocks/test/incompat.go | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tools/checklocks/test/incompat.go b/tools/checklocks/test/incompat.go index b39bc66c1..f55fa532d 100644 --- a/tools/checklocks/test/incompat.go +++ b/tools/checklocks/test/incompat.go @@ -18,15 +18,6 @@ import ( "sync" ) -// unsupportedLockerStruct verifies that trying to annotate a field that is not a -// sync.Mutex or sync.RWMutex results in a failure. -type unsupportedLockerStruct struct { - mu sync.Locker - - // +checklocks:mu - x int // +checklocksfail -} - // badFieldsStruct verifies that refering invalid fields fails. type badFieldsStruct struct { // +checklocks:mu |