Update test to enhance code coverage #225
Annotations
5 errors and 4 warnings
method `default` can be confused for the standard trait method `std::default::Default::default`:
zkmemory/src/config.rs#L63
error: method `default` can be confused for the standard trait method `std::default::Default::default`
--> zkmemory/src/config.rs:63:5
|
63 | / pub fn default() -> Self {
64 | | ConfigArgs {
65 | | head_layout: true,
66 | | stack_depth: 1024,
... |
69 | | }
70 | | }
| |_____^
|
= help: consider implementing the trait `std::default::Default` or choosing a less ambiguous method name
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#should_implement_trait
= note: `#[deny(clippy::should_implement_trait)]` implied by `#[deny(warnings)]`
|
method `default` can be confused for the standard trait method `std::default::Default::default`:
zkmemory/src/config.rs#L63
error: method `default` can be confused for the standard trait method `std::default::Default::default`
--> zkmemory/src/config.rs:63:5
|
63 | / pub fn default() -> Self {
64 | | ConfigArgs {
65 | | head_layout: true,
66 | | stack_depth: 1024,
... |
69 | | }
70 | | }
| |_____^
|
= help: consider implementing the trait `std::default::Default` or choosing a less ambiguous method name
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#should_implement_trait
= note: `#[deny(clippy::should_implement_trait)]` implied by `#[deny(warnings)]`
|
redundant field names in struct initialization:
zkmemory/src/config.rs#L89
error: redundant field names in struct initialization
--> zkmemory/src/config.rs:89:13
|
89 | word_size: word_size,
| ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `word_size`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
note: the lint level is defined here
--> zkmemory/src/lib.rs:6:5
|
6 | warnings,
| ^^^^^^^^
= note: `#[deny(clippy::redundant_field_names)]` implied by `#[deny(warnings)]`
|
redundant field names in struct initialization:
zkmemory/src/config.rs#L89
error: redundant field names in struct initialization
--> zkmemory/src/config.rs:89:13
|
89 | word_size: word_size,
| ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `word_size`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
note: the lint level is defined here
--> zkmemory/src/lib.rs:6:5
|
6 | warnings,
| ^^^^^^^^
= note: `#[deny(clippy::redundant_field_names)]` implied by `#[deny(warnings)]`
|
Clippy
Clippy had exited with the 101 exit code
|
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|