goprotobuf: Public import getters.
R=r
CC=golang-dev
http://codereview.appspot.com/6525044
diff --git a/proto/encode.go b/proto/encode.go
index 3240140..b3c9e45 100644
--- a/proto/encode.go
+++ b/proto/encode.go
@@ -56,7 +56,7 @@
var (
// ErrRepeatedHasNil is the error returned if Marshal is called with
// a struct with a repeated field containing a nil element.
- ErrRepeatedHasNil = errors.New("proto: repeated field has nil")
+ ErrRepeatedHasNil = errors.New("proto: repeated field has nil element")
// ErrNil is the error returned if Marshal is called with nil.
ErrNil = errors.New("proto: Marshal called with nil")