example.com/cmd contains main packages.

-- .info --
{"Version":"v1.0.0-exclude"}
-- .mod --
module example.com/cmd

go 1.16

exclude rsc.io/quote v1.5.2
-- go.mod --
module example.com/cmd

go 1.16

exclude rsc.io/quote v1.5.2
-- a/a.go --
package main

func main() {}
-- b/b.go --
package main

func main() {}
-- err/err.go --
package err

var X = DoesNotCompile
