Skip to content

fix: test failure on null-coaelse #528

fix: test failure on null-coaelse

fix: test failure on null-coaelse #528

Triggered via push July 26, 2023 17:42
Status Failure
Total duration 43s
Artifacts

clippy_check.yml

on: push
clippy_check
34s
clippy_check
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 5 warnings
incorrect implementation of `partial_cmp` on an `Ord` type: crates/jrsonnet-interner/src/inner.rs#L218
error: incorrect implementation of `partial_cmp` on an `Ord` type --> crates/jrsonnet-interner/src/inner.rs:218:1 | 218 | / impl PartialOrd for Inner { 219 | | fn partial_cmp(&self, other: &Self) -> Option<cmp::Ordering> { | | __________________________________________________________________- 220 | || self.as_slice().partial_cmp(other.as_slice()) 221 | || } | ||_____- help: change this to: `{ Some(self.cmp(other)) }` 222 | | } | |__^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incorrect_partial_ord_impl_on_ord_type = note: `#[deny(clippy::incorrect_partial_ord_impl_on_ord_type)]` on by default
clippy_check
Clippy had exited with the 101 exit code
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/