// Package pkg ...
package pkg

func fn1() (error, int)        { return nil, 0 }      // want `error should be returned as the last argument`
func fn2() (a, b error, c int) { return nil, nil, 0 } // want `error should be returned as the last argument`
func fn3() (a int, b, c error) { return 0, nil, nil }
func fn4() (error, error)      { return nil, nil }
func fn5() int                 { return 0 }
func fn6() (int, error)        { return 0, nil }
func fn7() (error, int, error) { return nil, 0, nil }

// it's not clear if the error should come first or second in a function that also has a comma-ok return value
func fn8() (error, bool)      { return nil, false }
func fn9() (int, error, bool) { return 0, nil, false }
