task1 + task2 #4860
Annotations
1 error and 4 warnings
|
framework/meta/src/cmd/contract/generate_proxy_trait/proxy_trait_sc_functions_gen.rs#L97
[clippy] reported by reviewdog 🐶
warning: `to_string` applied to a type that implements `Display` in `write!` args
--> framework/meta/src/cmd/contract/generate_proxy_trait/proxy_trait_sc_functions_gen.rs:97:28
|
97 | input.type_name.to_string()
| ^^^^^^^^^^^^ help: remove this
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_in_format_args
= note: `#[warn(clippy::to_string_in_format_args)]` on by default
Raw Output:
framework/meta/src/cmd/contract/generate_proxy_trait/proxy_trait_sc_functions_gen.rs:97:28:w:warning: `to_string` applied to a type that implements `Display` in `write!` args
--> framework/meta/src/cmd/contract/generate_proxy_trait/proxy_trait_sc_functions_gen.rs:97:28
|
97 | input.type_name.to_string()
| ^^^^^^^^^^^^ help: remove this
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_in_format_args
= note: `#[warn(clippy::to_string_in_format_args)]` on by default
__END__
|
framework/meta/src/cmd/contract/generate_proxy_struct/proxy_struct_sc_functions_gen.rs#L45
[clippy] reported by reviewdog 🐶
warning: length comparison to zero
--> framework/meta/src/cmd/contract/generate_proxy_struct/proxy_struct_sc_functions_gen.rs:45:8
|
45 | if abi_docs.len() > 0 {
| ^^^^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!abi_docs.is_empty()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero
= note: `#[warn(clippy::len_zero)]` on by default
Raw Output:
framework/meta/src/cmd/contract/generate_proxy_struct/proxy_struct_sc_functions_gen.rs:45:8:w:warning: length comparison to zero
--> framework/meta/src/cmd/contract/generate_proxy_struct/proxy_struct_sc_functions_gen.rs:45:8
|
45 | if abi_docs.len() > 0 {
| ^^^^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!abi_docs.is_empty()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero
= note: `#[warn(clippy::len_zero)]` on by default
__END__
|
framework/meta/src/cmd/contract/generate_proxy_trait/proxy_trait_sc_functions_gen.rs#L97
[clippy] reported by reviewdog 🐶
warning: `to_string` applied to a type that implements `Display` in `write!` args
--> framework/meta/src/cmd/contract/generate_proxy_trait/proxy_trait_sc_functions_gen.rs:97:28
|
97 | input.type_name.to_string()
| ^^^^^^^^^^^^ help: remove this
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_in_format_args
= note: `#[warn(clippy::to_string_in_format_args)]` on by default
Raw Output:
framework/meta/src/cmd/contract/generate_proxy_trait/proxy_trait_sc_functions_gen.rs:97:28:w:warning: `to_string` applied to a type that implements `Display` in `write!` args
--> framework/meta/src/cmd/contract/generate_proxy_trait/proxy_trait_sc_functions_gen.rs:97:28
|
97 | input.type_name.to_string()
| ^^^^^^^^^^^^ help: remove this
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_in_format_args
= note: `#[warn(clippy::to_string_in_format_args)]` on by default
__END__
|
framework/meta/src/cmd/contract/generate_proxy_struct/proxy_struct_sc_functions_gen.rs#L45
[clippy] reported by reviewdog 🐶
warning: length comparison to zero
--> framework/meta/src/cmd/contract/generate_proxy_struct/proxy_struct_sc_functions_gen.rs:45:8
|
45 | if abi_docs.len() > 0 {
| ^^^^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!abi_docs.is_empty()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero
= note: `#[warn(clippy::len_zero)]` on by default
Raw Output:
framework/meta/src/cmd/contract/generate_proxy_struct/proxy_struct_sc_functions_gen.rs:45:8:w:warning: length comparison to zero
--> framework/meta/src/cmd/contract/generate_proxy_struct/proxy_struct_sc_functions_gen.rs:45:8
|
45 | if abi_docs.len() > 0 {
| ^^^^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!abi_docs.is_empty()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero
= note: `#[warn(clippy::len_zero)]` on by default
__END__
|
The logs for this run have expired and are no longer available.
Loading