Commit dac1797
Move the
As part of this, I also removed the inherent methods `parse` and
`parse_dont_enforce_required` from generated messages. This changes the API in
a way that requires fixes for code that's not using our prelude (requires
adding `use protobuf::Parse`).
The blanket implementation of the trait is the same for both the C++ and upb
kernels, so I just put it directly in codegen_traits.rs.
PiperOrigin-RevId: 804967515Parse trait out of gencode and into the runtime1 parent 5e8700c commit dac1797
2 files changed
Lines changed: 16 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
78 | 94 | | |
79 | 95 | | |
80 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
591 | 591 | | |
592 | 592 | | |
593 | 593 | | |
594 | | - | |
595 | | - | |
596 | | - | |
597 | | - | |
598 | | - | |
599 | | - | |
600 | | - | |
601 | | - | |
602 | | - | |
603 | | - | |
604 | 594 | | |
605 | 595 | | |
606 | 596 | | |
| |||
808 | 798 | | |
809 | 799 | | |
810 | 800 | | |
811 | | - | |
812 | | - | |
813 | | - | |
814 | | - | |
815 | | - | |
816 | | - | |
817 | | - | |
818 | | - | |
819 | | - | |
820 | | - | |
821 | 801 | | |
822 | 802 | | |
823 | 803 | | |
| |||
0 commit comments