aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/testdata/script/mod_get_retract_ambiguous.txt
blob: b49ba54982b643bc5c395b1e05449bc8ae509fd3 (plain)
1
2
3
4
5
6
7
8
9
10
! go get -d example.com/retract/ambiguous/other
stderr 'ambiguous import: found package example.com/retract/ambiguous/nested in multiple modules:'
stderr '^go: warning: example.com/retract/ambiguous/nested@v1.9.0-bad: retracted by module author: nested modules are bad$'

-- go.mod --
module example.com/use

go 1.16

require example.com/retract/ambiguous/nested v1.9.0-bad