Test of "undeclared" diagnostic in generated code.

-- settings.json --
{
	"pullDiagnostics": true
}

-- go.mod --
module example.com
go 1.12

-- generated.go --
// Code generated by generator.go. DO NOT EDIT.

package generated

func _() {
	var y int //@diag("y", re"declared (and|but) not used")
}

-- generator.go --
package generated

func _() {
	var x int //@diag("x", re"declared (and|but) not used")
}
