diff --git a/private/bufpkg/bufcheck/bufcheckserver/internal/bufcheckserverhandle/lint.go b/private/bufpkg/bufcheck/bufcheckserver/internal/bufcheckserverhandle/lint.go index 361acdc030..fbb23df043 100644 --- a/private/bufpkg/bufcheck/bufcheckserver/internal/bufcheckserverhandle/lint.go +++ b/private/bufpkg/bufcheck/bufcheckserver/internal/bufcheckserverhandle/lint.go @@ -408,6 +408,7 @@ func handleLintFieldNotRequired( field.NameLocation(), nil, `Field named %q should not be required.`, + field.Name(), ) } return nil