Skip to content

WIP

WIP #176

GitHub Actions / clippy failed Apr 17, 2024 in 0s

clippy

3 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 3
Warning 0
Note 0
Help 0

Versions

  • rustc 1.77.2 (25ef9e3d8 2024-04-09)
  • cargo 1.77.2 (e52e36006 2024-03-26)
  • clippy 0.1.77 (25ef9e3 2024-04-09)

Annotations

Check failure on line 74 in src/py_module.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

redundant closure

error: redundant closure
  --> src/py_module.rs:74:22
   |
74 |             .map_err(|e| Into::<Ka3005pError>::into(e))?)
   |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `Into::<Ka3005pError>::into`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure

Check failure on line 50 in src/py_module.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

redundant closure

error: redundant closure
  --> src/py_module.rs:50:22
   |
50 |             .map_err(|e| Into::<Ka3005pError>::into(e))?)
   |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `Into::<Ka3005pError>::into`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure

Check failure on line 43 in src/py_module.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

redundant closure

error: redundant closure
  --> src/py_module.rs:43:22
   |
43 |             .map_err(|e| Into::<Ka3005pError>::into(e))?)
   |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `Into::<Ka3005pError>::into`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
note: the lint level is defined here
  --> src/lib.rs:30:9
   |
30 | #![deny(warnings)]
   |         ^^^^^^^^
   = note: `#[deny(clippy::redundant_closure)]` implied by `#[deny(warnings)]`