chore: resolve Clippy warnings #420
release.yml
on: push
Test Suite
48s
cargo-release
0s
Matrix: github-release
Annotations
4 errors and 1 warning
mismatched types:
crates/jrsonnet-evaluator/src/arr/spec.rs#L208
error[E0308]: mismatched types
--> crates/jrsonnet-evaluator/src/arr/spec.rs:208:24
|
205 | match &self.cached.borrow()[index] {
| ---------------------------- this expression has type `&arr::spec::ArrayThunk<jrsonnet_parser::LocExpr>`
...
208 | ArrayThunk::Waiting(()) | ArrayThunk::Pending => {}
| ^^ expected `LocExpr`, found `()`
|
Test Suite:
crates/jrsonnet-evaluator/src/arr/spec.rs#L208
mismatched types
|
Test Suite
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
|
mismatched types:
crates/jrsonnet-evaluator/src/arr/spec.rs#L208
error[E0308]: mismatched types
--> crates/jrsonnet-evaluator/src/arr/spec.rs:208:24
|
205 | match &self.cached.borrow()[index] {
| ---------------------------- this expression has type `&arr::spec::ArrayThunk<jrsonnet_parser::LocExpr>`
...
208 | ArrayThunk::Waiting(()) | ArrayThunk::Pending => {}
| ^^ expected `LocExpr`, found `()`
|
Test Suite
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|