Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code generator lifetime errors when message only contains int32 #1

Open
mmurray22 opened this issue Jul 29, 2021 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@mmurray22
Copy link
Collaborator

mmurray22 commented Jul 29, 2021

When a proposed message format for the .proto file for code generation only contains int32 fields and no byte fields, the resulting generated code has lifetime errors including anonymous lifetime and lifetime mismatches. The struct causing the error in my proto file is:
message PairRequest { int32 start = 1; int32 end = 2; }

@mmurray22 mmurray22 added the bug Something isn't working label Jul 29, 2021
@deeptir18 deeptir18 self-assigned this Jul 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants