insert LIB
and INCLUDE
#1500
Annotations
4 errors and 1 warning
Run giraffate/clippy-action@v1:
src/script.rs#L383
[clippy] reported by reviewdog 🐶
error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/script.rs:383:21
|
383 | &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:383:21:e:error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/script.rs:383:21
|
383 | &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#L387
[clippy] reported by reviewdog 🐶
error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/script.rs:387:21
|
387 | &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:387:21:e:error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/script.rs:387:21
|
387 | &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#L383
[clippy] reported by reviewdog 🐶
error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/script.rs:383:21
|
383 | &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:383:21:e:error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/script.rs:383:21
|
383 | &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#L387
[clippy] reported by reviewdog 🐶
error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/script.rs:387:21
|
387 | &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:387:21:e:error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/script.rs:387:21
|
387 | &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