mirror of
https://github.com/OMGeeky/tarpc.git
synced 2026-02-23 15:49:54 +01:00
Fix compile_fail tests for formatting changes on stable
This commit is contained in:
@@ -2,7 +2,7 @@ error: unused `RequestDispatch` that must be used
|
|||||||
--> tests/compile_fail/must_use_request_dispatch.rs:13:9
|
--> tests/compile_fail/must_use_request_dispatch.rs:13:9
|
||||||
|
|
|
|
||||||
13 | WorldClient::new(client::Config::default(), client_transport).dispatch;
|
13 | WorldClient::new(client::Config::default(), client_transport).dispatch;
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
|
|
||||||
note: the lint level is defined here
|
note: the lint level is defined here
|
||||||
--> tests/compile_fail/must_use_request_dispatch.rs:11:12
|
--> tests/compile_fail/must_use_request_dispatch.rs:11:12
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ error: unused `tarpc::serde_transport::tcp::Connect` that must be used
|
|||||||
--> tests/compile_fail/serde_transport/must_use_tcp_connect.rs:7:9
|
--> tests/compile_fail/serde_transport/must_use_tcp_connect.rs:7:9
|
||||||
|
|
|
|
||||||
7 | serde_transport::tcp::connect::<_, (), (), _, _>("0.0.0.0:0", Json::default);
|
7 | serde_transport::tcp::connect::<_, (), (), _, _>("0.0.0.0:0", Json::default);
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
|
|
||||||
note: the lint level is defined here
|
note: the lint level is defined here
|
||||||
--> tests/compile_fail/serde_transport/must_use_tcp_connect.rs:5:12
|
--> tests/compile_fail/serde_transport/must_use_tcp_connect.rs:5:12
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ error: unused `TokioChannelExecutor` that must be used
|
|||||||
--> tests/compile_fail/tokio/must_use_channel_executor.rs:27:9
|
--> tests/compile_fail/tokio/must_use_channel_executor.rs:27:9
|
||||||
|
|
|
|
||||||
27 | server.execute(HelloServer.serve());
|
27 | server.execute(HelloServer.serve());
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
|
|
||||||
note: the lint level is defined here
|
note: the lint level is defined here
|
||||||
--> tests/compile_fail/tokio/must_use_channel_executor.rs:25:12
|
--> tests/compile_fail/tokio/must_use_channel_executor.rs:25:12
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ error: unused `TokioServerExecutor` that must be used
|
|||||||
--> tests/compile_fail/tokio/must_use_server_executor.rs:28:9
|
--> tests/compile_fail/tokio/must_use_server_executor.rs:28:9
|
||||||
|
|
|
|
||||||
28 | server.execute(HelloServer.serve());
|
28 | server.execute(HelloServer.serve());
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
|
|
||||||
note: the lint level is defined here
|
note: the lint level is defined here
|
||||||
--> tests/compile_fail/tokio/must_use_server_executor.rs:26:12
|
--> tests/compile_fail/tokio/must_use_server_executor.rs:26:12
|
||||||
|
|||||||
Reference in New Issue
Block a user