aboutsummaryrefslogtreecommitdiff
path: root/go/analysis/diagnostic.go
diff options
context:
space:
mode:
Diffstat (limited to 'go/analysis/diagnostic.go')
-rw-r--r--go/analysis/diagnostic.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/go/analysis/diagnostic.go b/go/analysis/diagnostic.go
index cd462a0cb..5cdcf46d2 100644
--- a/go/analysis/diagnostic.go
+++ b/go/analysis/diagnostic.go
@@ -37,7 +37,7 @@ type Diagnostic struct {
// declaration.
type RelatedInformation struct {
Pos token.Pos
- End token.Pos
+ End token.Pos // optional
Message string
}