Skip to content

Merge branch 'overhaul-visavis-casile' #52

Merge branch 'overhaul-visavis-casile'

Merge branch 'overhaul-visavis-casile' #52

GitHub Actions / clippy failed Aug 26, 2024 in 0s

clippy

1 error

Details

Results

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

Versions

  • rustc 1.80.1 (3f5fd8dd4 2024-08-06)
  • cargo 1.80.1 (376290515 2024-07-16)
  • clippy 0.1.80 (3f5fd8d 2024-08-06)

Annotations

Check failure on line 111 in src/status/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the borrowed expression implements the required traits

error: the borrowed expression implements the required traits
   --> src/status/mod.rs:111:45
    |
111 |         if let Ok(part) = path.strip_prefix(&sourcedir) {
    |                                             ^^^^^^^^^^ help: change this to: `sourcedir`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
    = note: `-D clippy::needless-borrows-for-generic-args` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::needless_borrows_for_generic_args)]`