! unparam .
cmp stdout stdout.golden

-- go.mod --
module testdata.tld/foo
-- stdout.golden --
main.go:3:19: OneUnused - b is unused
main.go:10:29: ImplementsButUnused - b is unused
-- main.go --
package main

func OneUnused(a, b uint) uint {
	a += 1
	return a
}

type FnType func(a, b int) int

func ImplementsButUnused(a, b int) int {
	a *= 4
	return a
}

func main() {
	var f FnType
	f(2, 3)
}
