**Describe the bug** CI clippy checks are failing https://github.com/apache/arrow-datafusion/actions/runs/3386593123/jobs/5626537564 ``` Compiling datafusion-proto v13.0.0 (/__w/arrow-datafusion/arrow-datafusion/datafusion/proto) error: deref which would be done by auto-deref --> datafusion/proto/build.rs:51:17 | 51 | .expect(&*format!("Cannot read {:?}", &descriptor_path)); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `&format!("Cannot read {:?}", &descriptor_path)` | = note: `-D clippy::explicit-auto-deref` implied by `-D warnings` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref error: deref which would be done by auto-deref --> datafusion/proto/build.rs:55:17 | 55 | .expect(&*format!( | _________________^ 56 | | "Cannot register descriptors {:?}", 57 | | &descriptor_set 58 | | )) | |_________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref help: try this | 55 ~ .expect(&format!( 56 + "Cannot register descriptors {:?}", 57 + &descriptor_set 58 ~ )) | ``` **To Reproduce** run `rustup update` and then `cargo clippy` **Expected behavior** A clear and concise description of what you expected to happen. **Additional context** Rust 1.65 was released https://blog.rust-lang.org/2022/11/03/Rust-1.65.0.html https://github.com/rust-lang/rust-clippy/blob/master/CHANGELOG.md#rust-165
Activity
alamb commentedon Nov 3, 2022
Working on this
alamb commentedon Nov 3, 2022
to fix #4101