internal/impl: rename MessageType as MessageInfo
The name MessageType is easily confused with protoreflect.MessageType.
Rename it as MessageInfo, which follows the pattern set by v1,
where the equivalent data structure is called InternalMessageInfo.
Change-Id: I535956e1f7c6e9b07e9585e889d5e93388d0d2ce
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/178478
Reviewed-by: Damien Neil <dneil@google.com>
diff --git a/runtime/protoimpl/impl.go b/runtime/protoimpl/impl.go
index ccdc91d..2eec9d9 100644
--- a/runtime/protoimpl/impl.go
+++ b/runtime/protoimpl/impl.go
@@ -38,7 +38,7 @@
// integer overflow failure when evaluating the uint constant.
EnforceVersion uint
- MessageType = impl.MessageType
+ MessageInfo = impl.MessageInfo
FileBuilder = fileinit.FileBuilder
// TODO: Change these to more efficient data structures.