feat: better error messages on file overwrite #966
Annotations
2 errors and 1 warning
Run giraffate/clippy-action@v1:
src/package_test/run_test.rs#L109
[clippy] reported by reviewdog 🐶
error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/package_test/run_test.rs:109:30
|
109 | CopyDir::new(&path, tmp_dir.path()).run().map_err(|e| {
| ^^^^^ help: change this to: `path`
|
= 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/package_test/run_test.rs:109:30:e:error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/package_test/run_test.rs:109:30
|
109 | CopyDir::new(&path, tmp_dir.path()).run().map_err(|e| {
| ^^^^^ help: change this to: `path`
|
= 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
reviewdog exited with status code: 1
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: giraffate/clippy-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading