Fix compile_fail tests for formatting changes on stable

This commit is contained in:
Tim Kuehn
2023-03-17 10:07:54 -07:00
parent 7e872ce925
commit aa9bbad109
4 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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