fix: license from recipe folder instead of erroring if both are found #1740
Annotations
2 errors
Run giraffate/clippy-action@v1:
src/packaging.rs#L128
[clippy] reported by reviewdog 🐶
error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/packaging.rs:128:47
|
128 | if copied_files_work_dir.contains(&file) {
| ^^^^^ help: change this to: `file`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `-D clippy::needless-borrow` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_borrow)]`
Raw Output:
src/packaging.rs:128:47:e:error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/packaging.rs:128:47
|
128 | if copied_files_work_dir.contains(&file) {
| ^^^^^ help: change this to: `file`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `-D clippy::needless-borrow` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_borrow)]`
__END__
|
Run giraffate/clippy-action@v1:
src/packaging.rs#L128
[clippy] reported by reviewdog 🐶
error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/packaging.rs:128:47
|
128 | if copied_files_work_dir.contains(&file) {
| ^^^^^ help: change this to: `file`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `-D clippy::needless-borrow` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_borrow)]`
Raw Output:
src/packaging.rs:128:47:e:error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/packaging.rs:128:47
|
128 | if copied_files_work_dir.contains(&file) {
| ^^^^^ help: change this to: `file`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `-D clippy::needless-borrow` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_borrow)]`
__END__
|
Loading