insert LIB
and INCLUDE
#1503
Annotations
4 errors and 1 warning
Run giraffate/clippy-action@v1:
src/script.rs#L381
[clippy] reported by reviewdog 🐶
error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/script.rs:381:21
|
381 | &args.env_vars.get("LIBRARY_INC").unwrap_or(&"".to_string())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `args.env_vars.get("LIBRARY_INC").unwrap_or(&"".to_string())`
|
= 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/script.rs:381:21:e:error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/script.rs:381:21
|
381 | &args.env_vars.get("LIBRARY_INC").unwrap_or(&"".to_string())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `args.env_vars.get("LIBRARY_INC").unwrap_or(&"".to_string())`
|
= 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/script.rs#L385
[clippy] reported by reviewdog 🐶
error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/script.rs:385:21
|
385 | &args.env_vars.get("LIBRARY_LIB").unwrap_or(&"".to_string())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `args.env_vars.get("LIBRARY_LIB").unwrap_or(&"".to_string())`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
Raw Output:
src/script.rs:385:21:e:error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/script.rs:385:21
|
385 | &args.env_vars.get("LIBRARY_LIB").unwrap_or(&"".to_string())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `args.env_vars.get("LIBRARY_LIB").unwrap_or(&"".to_string())`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
__END__
|
Run giraffate/clippy-action@v1:
src/script.rs#L381
[clippy] reported by reviewdog 🐶
error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/script.rs:381:21
|
381 | &args.env_vars.get("LIBRARY_INC").unwrap_or(&"".to_string())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `args.env_vars.get("LIBRARY_INC").unwrap_or(&"".to_string())`
|
= 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/script.rs:381:21:e:error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/script.rs:381:21
|
381 | &args.env_vars.get("LIBRARY_INC").unwrap_or(&"".to_string())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `args.env_vars.get("LIBRARY_INC").unwrap_or(&"".to_string())`
|
= 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/script.rs#L385
[clippy] reported by reviewdog 🐶
error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/script.rs:385:21
|
385 | &args.env_vars.get("LIBRARY_LIB").unwrap_or(&"".to_string())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `args.env_vars.get("LIBRARY_LIB").unwrap_or(&"".to_string())`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
Raw Output:
src/script.rs:385:21:e:error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/script.rs:385:21
|
385 | &args.env_vars.get("LIBRARY_LIB").unwrap_or(&"".to_string())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `args.env_vars.get("LIBRARY_LIB").unwrap_or(&"".to_string())`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
__END__
|
The following actions use a deprecated Node.js version 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