aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/testdata/script/mod_missingpkg_prerelease.txt
blob: 319ff8558720811269a920bf49840a818b8236f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
env GO111MODULE=on

! go list use.go
stderr 'example.com/missingpkg/deprecated: package provided by example.com/missingpkg at latest version v1.0.0 but not at required version v1.0.1-beta'

-- go.mod --
module m

go 1.14

-- use.go --
package use

import (
	_ "example.com/missingpkg/deprecated"
	_ "example.com/usemissingpre"
)