Move key paths to separate structure #179
Annotations
1 error and 4 warnings
build
Process completed with exit code 1.
|
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v3. For more information see: https://***.blog/changelog/2023-09-22-***-actions-transitioning-from-node-16-to-node-20/.
|
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://***.blog/changelog/2023-06-13-***-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
useless conversion to the same type: `nym_gateway::config::old_config_v1_1_36::ConfigV1_1_36`:
gateway/src/commands/upgrade_helpers.rs#L100
warning: useless conversion to the same type: `nym_gateway::config::old_config_v1_1_36::ConfigV1_1_36`
--> gateway/src/commands/upgrade_helpers.rs:100:40
|
100 | let updated_step1: ConfigV1_1_36 = old_config.into();
| ^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `old_config`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
|
struct update has no effect, all the fields in the struct have already been specified:
gateway/src/config/old_config_v1_1_31.rs#L169
warning: struct update has no effect, all the fields in the struct have already been specified
--> gateway/src/config/old_config_v1_1_31.rs:169:19
|
169 | ..Default::default()
| ^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_update
= note: `#[warn(clippy::needless_update)]` on by default
|