Add a small release note blurb to describe the changes in CL 495447
relating to "go test -cover" runs on packages with functions but no
tests.
For #61422.
Change-Id: Ib8163ac70b902f0d7f9f470b944e7f70711e3cf3
Reviewed-on: https://go-review.googlesource.com/c/go/+/547635
Reviewed-by: Bryan Mills <bcmills@google.com>
Auto-Submit: Than McIntosh <thanm@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
<!-- cmd/go: remove conversion of legacy pre-module dependency configs -->
</p>
+<!-- CL 495447 -->
+<p>
+`go` `test` `-cover` now prints coverage summaries for covered
+packages that do not have their own test files. Prior to Go 1.22 a
+`go` `test` `-cover` run for such a package would report
+</p>
+
+<p>
+ <code>? mymod/mypack [no test files]</code>
+</p>
+
+<p>
+ and now with Go 1.22, functions in the package are treated as uncovered:
+</p>
+
+<p>
+ <code>mymod/mypack coverage: 0.0% of statements</code>
+</p>
+
<h3 id="cgo">Cgo</h3>
<!-- https://go.dev/issue/56378 -->