golang.org/x/mod/modfile.input.Error (method)

11 uses

	golang.org/x/mod/modfile (current package)
		read.go#L389: func (in *input) Error(s string) {
		read.go#L427: 		in.Error("internal lexer error: readRune at EOF")
		read.go#L548: 			in.Error("mod files must use // comments (not /* */ comments)")
		read.go#L577: 				in.Error("unexpected EOF in string")
		read.go#L580: 				in.Error("unexpected newline in string")
		read.go#L589: 					in.Error("unexpected EOF in string")
		read.go#L600: 		in.Error(fmt.Sprintf("unexpected input character %#q", c))
		read.go#L609: 			in.Error("mod files must use // comments (not /* */ comments)")
		read.go#L874: 			in.Error(fmt.Sprintf("syntax error (unterminated block started at %s:%d:%d)", in.filename, x.Start.Line, x.Start.LineRune))
		read.go#L880: 				in.Error("syntax error (expected newline after closing paren)")
		read.go#L896: 		in.Error("internal parse error: parseLine at end of line")