Skip to content

Commit d95e42b

Browse files
Internal changes
PiperOrigin-RevId: 713851037
1 parent 4f2ccc2 commit d95e42b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/google/protobuf/descriptor.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2904,6 +2904,8 @@ inline const Descriptor* FieldDescriptor::extension_scope() const {
29042904
}
29052905

29062906
inline FieldDescriptor::Label FieldDescriptor::label() const {
2907+
ABSL_DLOG(FATAL) << "Label is deprecated.";
2908+
29072909
if (is_required()) {
29082910
return LABEL_REQUIRED;
29092911
} else if (is_repeated()) {

0 commit comments

Comments
 (0)