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

import "google/protobuf/empty.proto"; ? #197

Closed
kkimdev opened this issue Jan 15, 2017 · 1 comment
Closed

import "google/protobuf/empty.proto"; ? #197

kkimdev opened this issue Jan 15, 2017 · 1 comment

Comments

@kkimdev
Copy link

kkimdev commented Jan 15, 2017

I was trying to use google.protobuf.Empty

import "google/protobuf/empty.proto";

message Msg {
    google.protobuf.Empty empty = 1
}

But then I noticed the generated .rs contains empty: ::protobuf::SingularPtrField<super::empty::Empty>, . Is this correct? and how should I resolve super:: scope ?

@stepancheg
Copy link
Owner

Support of well-known-types added in 653f854. Thank you for the bugreport.

(By the way, you could simply compile empty.proto yourself, sorry I didn't respond before).

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

No branches or pull requests

2 participants