We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d6aa3c commit 0b87f79Copy full SHA for 0b87f79
test/testdata/govet.go
@@ -9,7 +9,7 @@ import (
9
)
10
11
func Govet() error {
12
- return &os.PathError{"first", "path", os.ErrNotExist} // ERROR "composites: \\`io/fs.PathError\\` composite literal uses unkeyed fields"
+ return &os.PathError{"first", "path", os.ErrNotExist} // ERROR "composites: \\`io/(fs.)?PathError\\` composite literal uses unkeyed fields"
13
}
14
15
func GovetShadow(f io.Reader, buf []byte) (err error) {
0 commit comments