You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0437]: type `Response` is not a member of trait `Service`
--> /path/to/project/target/debug/build/t_common-fb7feb9559309b84/out/example.rs:123:3
|
107 | type Response = http::Response<tonic::body::BoxBody>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `Service`
error[E0437]: type `Error` is not a member of trait `Service`
--> /path/to/project/target/debug/build/t_common-fb7feb9559309b84/out/example.rs:123:4
|
108 | type Error = Never;
| ^^^^^^^^^^^^^^^^^^^ not a member of trait `Service`
I would expect the code to work, or at least produce a proper error message.
The text was updated successfully, but these errors were encountered:
Bug Report
Version
tonic v0.4.3
tonic-build v0.4.2
Platform
Windows 10 (64bit) running WSL1 4.4.0-19041-Microsoft #488-Microsoft x86_64 GNU/Linux
Description
Creating a service named
Service
like this:produces errors like:
I would expect the code to work, or at least produce a proper error message.
The text was updated successfully, but these errors were encountered: