Text file src/cmd/go/testdata/script/mod_get_retract_ambiguous.txt

     1  ! go get example.com/retract/ambiguous/other
     2  stderr 'ambiguous import: found package example.com/retract/ambiguous/nested in multiple modules:'
     3  stderr '^go: warning: example.com/retract/ambiguous/nested@v1.9.0-bad: retracted by module author: nested modules are bad$'
     4  
     5  -- go.mod --
     6  module example.com/use
     7  
     8  go 1.16
     9  
    10  require example.com/retract/ambiguous/nested v1.9.0-bad
    11  

View as plain text