package pkg

import "time"

func foo() time.Time { return time.Time{} }
func bar() time.Time { return time.Time{} }

func fn() {
	var t1, t2 time.Time
	if t1.Equal(t2) { //@ diag(`probably want to use time.Time.Equal instead`)
	}

	if foo().Equal(bar()) { //@ diag(`probably want to use time.Time.Equal instead`)
	}
}
