diff --git a/refactor/rename/spec.go b/refactor/rename/spec.go index cc1228c6..c8075653 100644 --- a/refactor/rename/spec.go +++ b/refactor/rename/spec.go @@ -558,8 +558,8 @@ func ambiguityError(fset *token.FileSet, objects []types.Object) error { buf.WriteString(", ") } posn := fset.Position(obj.Pos()) - fmt.Fprintf(&buf, "%s at %s:%d", - objectKind(obj), filepath.Base(posn.Filename), posn.Column) + fmt.Fprintf(&buf, "%s at %s:%d:%d", + objectKind(obj), filepath.Base(posn.Filename), posn.Line, posn.Column) } return fmt.Errorf("ambiguous specifier %s matches %s", objects[0].Name(), buf.String())