fix: update hi-doc #649
Annotations
32 warnings
unnecessary `!=` operation:
crates/jrsonnet-stdlib/src/manifest/toml.rs#L115
warning: unnecessary `!=` operation
--> crates/jrsonnet-stdlib/src/manifest/toml.rs:115:5
|
115 | / if i != 0 {
116 | | buf.push(',');
117 | | } else {
118 | | buf.push('[');
119 | | }
| |_________________^
|
= help: change to `==` and swap the blocks of the `if`/`else`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#if_not_else
= note: `-W clippy::if-not-else` implied by `-W clippy::pedantic`
= help: to override `-W clippy::pedantic` add `#[allow(clippy::if_not_else)]`
|
usage of wildcard import:
crates/jrsonnet-evaluator/src/obj.rs#L91
warning: usage of wildcard import
--> crates/jrsonnet-evaluator/src/obj.rs:91:5
|
91 | use ordering::*;
| ^^^^^^^^^^^ help: try: `ordering::{FieldIndex, FieldSortKey, SuperDepth}`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wildcard_imports
= note: `-W clippy::wildcard-imports` implied by `-W clippy::pedantic`
= help: to override `-W clippy::pedantic` add `#[allow(clippy::wildcard_imports)]`
|
this type has already been used as a bound predicate:
crates/jrsonnet-evaluator/src/integrations/serde.rs#L546
warning: this type has already been used as a bound predicate
--> crates/jrsonnet-evaluator/src/integrations/serde.rs:546:3
|
546 | T: Serialize,
| ^^^^^^^^^^^^
|
= help: consider combining the bounds: `T: ?Sized + Serialize`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
|
this type has already been used as a bound predicate:
crates/jrsonnet-evaluator/src/integrations/serde.rs#L533
warning: this type has already been used as a bound predicate
--> crates/jrsonnet-evaluator/src/integrations/serde.rs:533:3
|
533 | T: Serialize,
| ^^^^^^^^^^^^
|
= help: consider combining the bounds: `T: ?Sized + Serialize`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
|
this type has already been used as a bound predicate:
crates/jrsonnet-evaluator/src/integrations/serde.rs#L509
warning: this type has already been used as a bound predicate
--> crates/jrsonnet-evaluator/src/integrations/serde.rs:509:3
|
509 | T: Serialize,
| ^^^^^^^^^^^^
|
= help: consider combining the bounds: `T: ?Sized + Serialize`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
|
this type has already been used as a bound predicate:
crates/jrsonnet-evaluator/src/integrations/serde.rs#L416
warning: this type has already been used as a bound predicate
--> crates/jrsonnet-evaluator/src/integrations/serde.rs:416:3
|
416 | T: Serialize,
| ^^^^^^^^^^^^
|
= help: consider combining the bounds: `T: ?Sized + Serialize`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
|
this type has already been used as a bound predicate:
crates/jrsonnet-evaluator/src/integrations/serde.rs#L399
warning: this type has already been used as a bound predicate
--> crates/jrsonnet-evaluator/src/integrations/serde.rs:399:3
|
399 | T: Serialize,
| ^^^^^^^^^^^^
|
= help: consider combining the bounds: `T: ?Sized + Serialize`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
|
this type has already been used as a bound predicate:
crates/jrsonnet-evaluator/src/integrations/serde.rs#L373
warning: this type has already been used as a bound predicate
--> crates/jrsonnet-evaluator/src/integrations/serde.rs:373:3
|
373 | V: Serialize,
| ^^^^^^^^^^^^
|
= help: consider combining the bounds: `V: ?Sized + Serialize`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
|
this type has already been used as a bound predicate:
crates/jrsonnet-evaluator/src/integrations/serde.rs#L372
warning: this type has already been used as a bound predicate
--> crates/jrsonnet-evaluator/src/integrations/serde.rs:372:3
|
372 | K: Serialize,
| ^^^^^^^^^^^^
|
= help: consider combining the bounds: `K: ?Sized + Serialize`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
|
this type has already been used as a bound predicate:
crates/jrsonnet-evaluator/src/integrations/serde.rs#L361
warning: this type has already been used as a bound predicate
--> crates/jrsonnet-evaluator/src/integrations/serde.rs:361:3
|
361 | T: Serialize,
| ^^^^^^^^^^^^
|
= help: consider combining the bounds: `T: ?Sized + Serialize`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
|
this type has already been used as a bound predicate:
crates/jrsonnet-evaluator/src/integrations/serde.rs#L351
warning: this type has already been used as a bound predicate
--> crates/jrsonnet-evaluator/src/integrations/serde.rs:351:3
|
351 | T: Serialize,
| ^^^^^^^^^^^^
|
= help: consider combining the bounds: `T: ?Sized + Serialize`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
= note: `-W clippy::type-repetition-in-bounds` implied by `-W clippy::nursery`
= help: to override `-W clippy::nursery` add `#[allow(clippy::type_repetition_in_bounds)]`
|
pub(crate) import inside private module:
crates/jrsonnet-evaluator/src/lib.rs#L1
warning: pub(crate) import inside private module
--> crates/jrsonnet-evaluator/src/lib.rs:1:1
|
1 | / //! jsonnet interpreter implementation
2 | | #![cfg_attr(feature = "nightly", feature(thread_local, type_alias_impl_trait))]
3 | |
4 | | // For jrsonnet-macros
... |
10 | | mod ctx;
11 | | mod dynamic;
| |_
|
::: crates/jrsonnet-evaluator/src/arr/mod.rs:11:1
|
11 | pub(crate) use spec::*;
| ---------- help: consider using: `pub`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pub_crate
= note: `-W clippy::redundant-pub-crate` implied by `-W clippy::nursery`
= help: to override `-W clippy::nursery` add `#[allow(clippy::redundant_pub_crate)]`
|
unknown lint: `clippy::unconditional_recursion`:
crates/jrsonnet-evaluator/src/val.rs#L380
warning: unknown lint: `clippy::unconditional_recursion`
--> crates/jrsonnet-evaluator/src/val.rs:380:10
|
380 | #[allow(clippy::unconditional_recursion)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: did you mean: `unconditional_recursion`
|
= note: `#[warn(unknown_lints)]` on by default
|
unnecessary `!=` operation:
crates/jrsonnet-stdlib/src/manifest/toml.rs#L115
warning: unnecessary `!=` operation
--> crates/jrsonnet-stdlib/src/manifest/toml.rs:115:5
|
115 | / if i != 0 {
116 | | buf.push(',');
117 | | } else {
118 | | buf.push('[');
119 | | }
| |_________________^
|
= help: change to `==` and swap the blocks of the `if`/`else`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#if_not_else
= note: `-W clippy::if-not-else` implied by `-W clippy::pedantic`
= help: to override `-W clippy::pedantic` add `#[allow(clippy::if_not_else)]`
|
usage of wildcard import:
crates/jrsonnet-evaluator/src/obj.rs#L91
warning: usage of wildcard import
--> crates/jrsonnet-evaluator/src/obj.rs:91:5
|
91 | use ordering::*;
| ^^^^^^^^^^^ help: try: `ordering::{FieldIndex, FieldSortKey, SuperDepth}`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wildcard_imports
= note: `-W clippy::wildcard-imports` implied by `-W clippy::pedantic`
= help: to override `-W clippy::pedantic` add `#[allow(clippy::wildcard_imports)]`
|
this type has already been used as a bound predicate:
crates/jrsonnet-evaluator/src/integrations/serde.rs#L546
warning: this type has already been used as a bound predicate
--> crates/jrsonnet-evaluator/src/integrations/serde.rs:546:3
|
546 | T: Serialize,
| ^^^^^^^^^^^^
|
= help: consider combining the bounds: `T: ?Sized + Serialize`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
|
this type has already been used as a bound predicate:
crates/jrsonnet-evaluator/src/integrations/serde.rs#L533
warning: this type has already been used as a bound predicate
--> crates/jrsonnet-evaluator/src/integrations/serde.rs:533:3
|
533 | T: Serialize,
| ^^^^^^^^^^^^
|
= help: consider combining the bounds: `T: ?Sized + Serialize`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
|
this type has already been used as a bound predicate:
crates/jrsonnet-evaluator/src/integrations/serde.rs#L509
warning: this type has already been used as a bound predicate
--> crates/jrsonnet-evaluator/src/integrations/serde.rs:509:3
|
509 | T: Serialize,
| ^^^^^^^^^^^^
|
= help: consider combining the bounds: `T: ?Sized + Serialize`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
|
this type has already been used as a bound predicate:
crates/jrsonnet-evaluator/src/integrations/serde.rs#L416
warning: this type has already been used as a bound predicate
--> crates/jrsonnet-evaluator/src/integrations/serde.rs:416:3
|
416 | T: Serialize,
| ^^^^^^^^^^^^
|
= help: consider combining the bounds: `T: ?Sized + Serialize`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
|
this type has already been used as a bound predicate:
crates/jrsonnet-evaluator/src/integrations/serde.rs#L399
warning: this type has already been used as a bound predicate
--> crates/jrsonnet-evaluator/src/integrations/serde.rs:399:3
|
399 | T: Serialize,
| ^^^^^^^^^^^^
|
= help: consider combining the bounds: `T: ?Sized + Serialize`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
|
this type has already been used as a bound predicate:
crates/jrsonnet-evaluator/src/integrations/serde.rs#L373
warning: this type has already been used as a bound predicate
--> crates/jrsonnet-evaluator/src/integrations/serde.rs:373:3
|
373 | V: Serialize,
| ^^^^^^^^^^^^
|
= help: consider combining the bounds: `V: ?Sized + Serialize`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
|
this type has already been used as a bound predicate:
crates/jrsonnet-evaluator/src/integrations/serde.rs#L372
warning: this type has already been used as a bound predicate
--> crates/jrsonnet-evaluator/src/integrations/serde.rs:372:3
|
372 | K: Serialize,
| ^^^^^^^^^^^^
|
= help: consider combining the bounds: `K: ?Sized + Serialize`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
|
this type has already been used as a bound predicate:
crates/jrsonnet-evaluator/src/integrations/serde.rs#L361
warning: this type has already been used as a bound predicate
--> crates/jrsonnet-evaluator/src/integrations/serde.rs:361:3
|
361 | T: Serialize,
| ^^^^^^^^^^^^
|
= help: consider combining the bounds: `T: ?Sized + Serialize`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
|
this type has already been used as a bound predicate:
crates/jrsonnet-evaluator/src/integrations/serde.rs#L351
warning: this type has already been used as a bound predicate
--> crates/jrsonnet-evaluator/src/integrations/serde.rs:351:3
|
351 | T: Serialize,
| ^^^^^^^^^^^^
|
= help: consider combining the bounds: `T: ?Sized + Serialize`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
= note: `-W clippy::type-repetition-in-bounds` implied by `-W clippy::nursery`
= help: to override `-W clippy::nursery` add `#[allow(clippy::type_repetition_in_bounds)]`
|
pub(crate) import inside private module:
crates/jrsonnet-evaluator/src/lib.rs#L1
warning: pub(crate) import inside private module
--> crates/jrsonnet-evaluator/src/lib.rs:1:1
|
1 | / //! jsonnet interpreter implementation
2 | | #![cfg_attr(feature = "nightly", feature(thread_local, type_alias_impl_trait))]
3 | |
4 | | // For jrsonnet-macros
... |
10 | | mod ctx;
11 | | mod dynamic;
| |_
|
::: crates/jrsonnet-evaluator/src/arr/mod.rs:11:1
|
11 | pub(crate) use spec::*;
| ---------- help: consider using: `pub`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pub_crate
= note: `-W clippy::redundant-pub-crate` implied by `-W clippy::nursery`
= help: to override `-W clippy::nursery` add `#[allow(clippy::redundant_pub_crate)]`
|
unknown lint: `clippy::unconditional_recursion`:
crates/jrsonnet-evaluator/src/val.rs#L380
warning: unknown lint: `clippy::unconditional_recursion`
--> crates/jrsonnet-evaluator/src/val.rs:380:10
|
380 | #[allow(clippy::unconditional_recursion)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: did you mean: `unconditional_recursion`
|
= note: `#[warn(unknown_lints)]` on by default
|
clippy_check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
clippy_check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
clippy_check
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_check
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_check
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_check
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/
|