Skip to content

Add @generated to generated .rs files#114

Closed
rajatgoel wants to merge 1 commit intostepancheg:masterfrom
rajatgoel:patch-1
Closed

Add @generated to generated .rs files#114
rajatgoel wants to merge 1 commit intostepancheg:masterfrom
rajatgoel:patch-1

Conversation

@rajatgoel
Copy link
Copy Markdown
Contributor

This will suppress generated code from showing up in phabricator diffs

This will suppress generated code from showing up in phabricator diffs
@stepancheg
Copy link
Copy Markdown
Owner

I slightly modified your patch, regenerated the code, and pushed. Thanks!

@stepancheg stepancheg closed this Jun 15, 2015
jxs pushed a commit to jxs/rust-protobuf that referenced this pull request Oct 25, 2022
)

* pb-rs: add MessageOrEnum variant to simplify debugging and readability

* rustfmt

* fix test

* early set to enum if there is a default value

* sanity check default values for enums
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants