mirror of
https://github.com/OMGeeky/tarpc.git
synced 2026-02-23 15:49:54 +01:00
- Stub - BeforeRequest - AfterRequest Also removed the last remaining usage of an unstable feature, iter_intersperse.
16 lines
629 B
Plaintext
16 lines
629 B
Plaintext
error: unused `RequestDispatch` that must be used
|
|
--> tests/compile_fail/must_use_request_dispatch.rs:13:9
|
|
|
|
|
13 | WorldClient::new(client::Config::default(), client_transport).dispatch;
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
note: the lint level is defined here
|
|
--> tests/compile_fail/must_use_request_dispatch.rs:11:12
|
|
|
|
|
11 | #[deny(unused_must_use)]
|
|
| ^^^^^^^^^^^^^^^
|
|
help: use `let _ = ...` to ignore the resulting value
|
|
|
|
|
13 | let _ = WorldClient::new(client::Config::default(), client_transport).dispatch;
|
|
| +++++++
|