5d56daa721
When calling methods on Arc<MyService> where the method is also defined on Arc (e.g. drop and clone), calling inner.#method_ident(request) will actually attempt to call the Arc method instead of the method on the service, resulting in a compile error. This change removes the ambiguity by dereferencing the inner Arc.
4 lines
89 B
Rust
4 lines
89 B
Rust
fn main() {
|
|
tonic_build::compile_protos("proto/ambiguous_methods.proto").unwrap();
|
|
}
|