fix: replace absolute symlinks from cache with correct version #1277
Annotations
2 errors and 1 warning
Run giraffate/clippy-action@v1:
src/cache.rs#L119
[clippy] reported by reviewdog 🐶
error: the borrowed expression implements the required traits
--> src/cache.rs:119:52
|
119 | let symlink_target = fs::read_link(&source).into_diagnostic()?;
| ^^^^^^^ help: change this to: `source`
|
= 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)]`
Raw Output:
src/cache.rs:119:52:e:error: the borrowed expression implements the required traits
--> src/cache.rs:119:52
|
119 | let symlink_target = fs::read_link(&source).into_diagnostic()?;
| ^^^^^^^ help: change this to: `source`
|
= 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)]`
__END__
|
Run giraffate/clippy-action@v1:
src/cache.rs#L119
[clippy] reported by reviewdog 🐶
error: the borrowed expression implements the required traits
--> src/cache.rs:119:52
|
119 | let symlink_target = fs::read_link(&source).into_diagnostic()?;
| ^^^^^^^ help: change this to: `source`
|
= 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)]`
Raw Output:
src/cache.rs:119:52:e:error: the borrowed expression implements the required traits
--> src/cache.rs:119:52
|
119 | let symlink_target = fs::read_link(&source).into_diagnostic()?;
| ^^^^^^^ help: change this to: `source`
|
= 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)]`
__END__
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: giraffate/clippy-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading