prepare for v0.20.2 release #1354
Annotations
10 warnings
Run actions-rs-plus/clippy-check@v2:
target/debug/build/fill_random_values-2868c905680f156d/out/fill_capnp.rs#L2431
warning: type parameter `T` goes unused in function definition
--> /home/runner/work/capnproto-rust/capnproto-rust/target/debug/build/fill_random_values-2868c905680f156d/out/fill_capnp.rs:2431:28
|
2431 | pub fn get_field_types<T>(index: u16) -> ::capnp::introspect::Type where T: ::capnp::traits::Owned {
| ^
|
= help: consider removing the parameter
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
= note: `#[warn(clippy::extra_unused_type_parameters)]` on by default
|
Run actions-rs-plus/clippy-check@v2:
target/debug/build/fill_random_values-2868c905680f156d/out/fill_capnp.rs#L2434
warning: type parameter `T` goes unused in function definition
--> /home/runner/work/capnproto-rust/capnproto-rust/target/debug/build/fill_random_values-2868c905680f156d/out/fill_capnp.rs:2434:33
|
2434 | pub fn get_annotation_types<T>(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type where T: ::capnp::traits::Owned {
| ^
|
= help: consider removing the parameter
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
Run actions-rs-plus/clippy-check@v2:
target/debug/build/pubsub-80f2a55125582497/out/pubsub_capnp.rs#L87
warning: this match could be replaced by its body itself
--> /home/runner/work/capnproto-rust/capnproto-rust/target/debug/build/pubsub-80f2a55125582497/out/pubsub_capnp.rs:87:7
|
87 | / match method_id {
88 | | _ => { ::capnp::capability::DispatchCallResult::new(::capnp::capability::Promise::err(::capnp::Error::unimplemented("Method not i...
89 | | }
| |_______^ help: consider using the match body instead: `::capnp::capability::DispatchCallResult::new(::capnp::capability::Promise::err(::capnp::Error::unimplemented("Method not implemented.".to_string())), false)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_single_binding
= note: `#[warn(clippy::match_single_binding)]` on by default
|
Run actions-rs-plus/clippy-check@v2:
target/debug/build/pubsub-80f2a55125582497/out/pubsub_capnp.rs#L412
warning: type parameter `T` goes unused in function definition
--> /home/runner/work/capnproto-rust/capnproto-rust/target/debug/build/pubsub-80f2a55125582497/out/pubsub_capnp.rs:412:35
|
412 | pub fn get_annotation_types<T>(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type where T: ::capnp::traits::Owned {
| ^
|
= help: consider removing the parameter
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
= note: `#[warn(clippy::extra_unused_type_parameters)]` on by default
|
Run actions-rs-plus/clippy-check@v2:
target/debug/build/pubsub-80f2a55125582497/out/pubsub_capnp.rs#L625
warning: type parameter `T` goes unused in function definition
--> /home/runner/work/capnproto-rust/capnproto-rust/target/debug/build/pubsub-80f2a55125582497/out/pubsub_capnp.rs:625:30
|
625 | pub fn get_field_types<T>(index: u16) -> ::capnp::introspect::Type where T: ::capnp::traits::Owned {
| ^
|
= help: consider removing the parameter
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
Run actions-rs-plus/clippy-check@v2:
target/debug/build/pubsub-80f2a55125582497/out/pubsub_capnp.rs#L631
warning: type parameter `T` goes unused in function definition
--> /home/runner/work/capnproto-rust/capnproto-rust/target/debug/build/pubsub-80f2a55125582497/out/pubsub_capnp.rs:631:35
|
631 | pub fn get_annotation_types<T>(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type where T: ::capnp::traits::Owned {
| ^
|
= help: consider removing the parameter
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
Run actions-rs-plus/clippy-check@v2:
target/debug/build/pubsub-80f2a55125582497/out/pubsub_capnp.rs#L959
warning: type parameter `T` goes unused in function definition
--> /home/runner/work/capnproto-rust/capnproto-rust/target/debug/build/pubsub-80f2a55125582497/out/pubsub_capnp.rs:959:35
|
959 | pub fn get_annotation_types<T>(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type where T: ::capnp::traits::Owned {
| ^
|
= help: consider removing the parameter
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
Run actions-rs-plus/clippy-check@v2:
target/debug/build/pubsub-80f2a55125582497/out/pubsub_capnp.rs#L1132
warning: type parameter `T` goes unused in function definition
--> /home/runner/work/capnproto-rust/capnproto-rust/target/debug/build/pubsub-80f2a55125582497/out/pubsub_capnp.rs:1132:30
|
1132 | pub fn get_field_types<T>(index: u16) -> ::capnp::introspect::Type where T: ::capnp::traits::Owned {
| ^
|
= help: consider removing the parameter
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
Run actions-rs-plus/clippy-check@v2:
target/debug/build/pubsub-80f2a55125582497/out/pubsub_capnp.rs#L1135
warning: type parameter `T` goes unused in function definition
--> /home/runner/work/capnproto-rust/capnproto-rust/target/debug/build/pubsub-80f2a55125582497/out/pubsub_capnp.rs:1135:35
|
1135 | pub fn get_annotation_types<T>(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type where T: ::capnp::traits::Owned {
| ^
|
= help: consider removing the parameter
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
Run actions-rs-plus/clippy-check@v2:
target/debug/build/capnpc-test-edition-2021-d68011c75b86e9b8/out/test_capnp.rs#L19583
warning: type parameters go unused in function definition: Foo, Bar
--> /home/runner/work/capnproto-rust/capnproto-rust/target/debug/build/capnpc-test-edition-2021-d68011c75b86e9b8/out/test_capnp.rs:19583:33
|
19583 | pub fn get_annotation_types<Foo,Bar>(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type where Foo: ::capnp::traits::O...
| ^^^ ^^^
|
= help: consider removing the parameters
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
= note: `#[warn(clippy::extra_unused_type_parameters)]` on by default
|
Loading