Skip to content

journald: fix clippy unwrap_or_default warning #4786

journald: fix clippy unwrap_or_default warning

journald: fix clippy unwrap_or_default warning #4786

Triggered via pull request October 9, 2023 16:36
Status Failure
Total duration 11m 56s
Artifacts

CI.yml

on: pull_request
Matrix: cargo check (feature combinations)
Matrix: cargo check (+MSRV -Zminimal-versions)
Matrix: build tests (wasm)
Matrix: cargo test (wasm)
cargo fmt
34s
cargo fmt
cargo test (feature-specific)
2m 32s
cargo test (feature-specific)
Matrix: test
all systems go!
1s
all systems go!
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
redundant redefinition of a binding: tracing-attributes/tests/async_fn.rs#L19
error: redundant redefinition of a binding --> tracing-attributes/tests/async_fn.rs:19:30 | 19 | async fn test_ret_impl_trait(n: i32) -> Result<impl Iterator<Item = i32>, ()> { | ^ 20 | let n = n; | ^^^^^^^^^^ | = help: remove the redefinition of `n` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_locals = note: `#[deny(clippy::redundant_locals)]` on by default
warnings
Clippy had exited with the 101 exit code
warnings
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/