Text file src/cmd/go/testdata/script/work_use_issue55952.txt
1 ! go list . 2 stderr '^go: cannot load module y listed in go\.work file: open y'${/}'go\.mod:' 3 4 -- go.work -- 5 use ./y 6 -- x/go.mod -- 7 module x 8 9 go 1.19 10 -- x/m.go -- 11 package m 12