add &tuple:params #690
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
4 warnings
redundant guard:
src/codegen/emit_js.rs#L909
warning: redundant guard
--> src/codegen/emit_js.rs:909:39
|
909 | Some(Calcit::Syntax(syn, _)) if syn == &CalcitSyntax::Defn => false,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_guards
help: try
|
909 - Some(Calcit::Syntax(syn, _)) if syn == &CalcitSyntax::Defn => false,
909 + Some(Calcit::Syntax(&CalcitSyntax::Defn, _)) => false,
|
|
redundant guard:
src/builtins/lists.rs#L525
warning: redundant guard
--> src/builtins/lists.rs:525:38
|
525 | Ok(Calcit::Number(x)) if x == 0.0 => Ordering::Equal,
| ^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_guards
help: try
|
525 - Ok(Calcit::Number(x)) if x == 0.0 => Ordering::Equal,
525 + Ok(Calcit::Number(0.0)) => Ordering::Equal,
|
|
redundant guard:
src/builtins/lists.rs#L499
warning: redundant guard
--> src/builtins/lists.rs:499:38
|
499 | Ok(Calcit::Number(x)) if x == 0.0 => Ordering::Equal,
| ^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_guards
= note: `#[warn(clippy::redundant_guards)]` on by default
help: try
|
499 - Ok(Calcit::Number(x)) if x == 0.0 => Ordering::Equal,
499 + Ok(Calcit::Number(0.0)) => Ordering::Equal,
|
|
Test
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
|