refactor: move more stdlib functions to builtins #28
checks.yaml
on: pull_request
Tests
/
Test
26s
Tests
/
Test on stable
16s
Lints
27s
Formatting
17s
Annotations
9 errors and 2 warnings
Tests / Test on stable:
bindings/jsonnet/src/val_extract.rs#L29
mismatched types
|
Tests / Test on stable:
bindings/jsonnet/src/val_make.rs#L27
mismatched types
|
Tests / Test on stable
Process completed with exit code 101.
|
Formatting
Process completed with exit code 1.
|
Tests / Test:
bindings/jsonnet/src/val_extract.rs#L29
mismatched types
|
Tests / Test:
bindings/jsonnet/src/val_make.rs#L27
mismatched types
|
Tests / Test
Process completed with exit code 101.
|
consider adding a `;` to the last statement for consistent formatting:
crates/jrsonnet-evaluator/src/lib.rs#L609
error: consider adding a `;` to the last statement for consistent formatting
--> crates/jrsonnet-evaluator/src/stdlib/format.rs:609:5
|
609 | / tmp_out.push(
610 | | std::char::from_u32(n as u32)
611 | | .ok_or_else(|| InvalidUnicodeCodepointGot(n as u32))?,
612 | | )
| |_________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#semicolon_if_nothing_returned
= note: `-D clippy::semicolon-if-nothing-returned` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::semicolon_if_nothing_returned)]`
help: add a `;` here
|
609 ~ tmp_out.push(
610 ~ std::char::from_u32(n as u32)
611 ~ .ok_or_else(|| InvalidUnicodeCodepointGot(n as u32))?,
612 ~ );
|
|
aborting due to 1 previous error
error: aborting due to 1 previous error
|
Formatting:
crates/jrsonnet-evaluator/src/error.rs#L1
Diff in /home/runner/work/jrsonnet/jrsonnet/crates/jrsonnet-evaluator/src/error.rs
|
Formatting:
crates/jrsonnet-evaluator/src/evaluate/mod.rs#L37
Diff in /home/runner/work/jrsonnet/jrsonnet/crates/jrsonnet-evaluator/src/evaluate/mod.rs
|