maintainer-feedback requested: [Bug 272421] lang/go120: Go-1.20 fails saying that unsafe.Slice requires go1.17 or later

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 08 Jul 2023 04:59:19 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked Golang Team (Nobody)
<go@FreeBSD.org> for maintainer-feedback:
Bug 272421: lang/go120: Go-1.20 fails saying that unsafe.Slice requires go1.17
or later
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272421



--- Description ---
The attached patch for misc/dive fails in compilation:
vendor/golang.org/x/sys/unix/syscall.go:83:16: unsafe.Slice requires go1.17 or
later (-lang was set to go1.16; check go.mod)
vendor/golang.org/x/sys/unix/syscall_bsd.go:248:20: unsafe.Slice requires
go1.17 or later (-lang was set to go1.16; check go.mod)
vendor/golang.org/x/sys/unix/syscall_unix.go:118:7: unsafe.Slice requires
go1.17 or later (-lang was set to go1.16; check go.mod)

This doesn't make sense because Go compiler's version is 1.20 which is later
than 1.17.