[roll pigweed] pw_rpc: Error on service and method with same name

Before this change, services contianing a method with the same name as
the service (e.g. `service Echo { rpc Echo... }`) would fail to
compile with the error "constructor cannot have a return type".

This CL adds a nicer error in this case, and does not yet introduce
a fallback path for names.

Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/107290

https://pigweed.googlesource.com/pigweed/pigweed
pigweed Rolled-Commits: 2005fc23aa467a0..36b605a10433d6f
Roller-URL: https://ci.chromium.org/b/8805480002100109217
CQ-Do-Not-Cancel-Tryjobs: true
Change-Id: I4522e6fda2236677db4461f6755636a61039e7be
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/zephyr-integration/+/107332
Bot-Commit: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com>
Commit-Queue: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com>
1 file changed
tree: d0d46c90b33f8600bb80b9d70a53763877b6087b
  1. .gitmodules
  2. test.sh