Skip to content

add openssl feature. #1558

add openssl feature.

add openssl feature. #1558

GitHub Actions / clippy succeeded Mar 27, 2024 in 0s

clippy

9 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 9
Note 0
Help 0

Versions

  • rustc 1.79.0-nightly (47ecded35 2024-03-26)
  • cargo 1.79.0-nightly (499a61ce7 2024-03-26)
  • clippy 0.1.79 (47ecded 2024-03-26)

Annotations

Check warning on line 98 in client/src/http_tunnel.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this expression borrows a value the compiler would automatically borrow

warning: this expression borrows a value the compiler would automatically borrow
  --> client/src/http_tunnel.rs:98:36
   |
98 |                 while let Err(e) = (&mut **body.conn()).flush() {
   |                                    ^^^^^^^^^^^^^^^^^^^^ help: change this to: `(**body.conn())`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow

Check warning on line 137 in client/src/ws.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this expression borrows a value the compiler would automatically borrow

warning: this expression borrows a value the compiler would automatically borrow
   --> client/src/ws.rs:137:36
    |
137 |                 while let Err(e) = (&mut **body.conn()).flush() {
    |                                    ^^^^^^^^^^^^^^^^^^^^ help: change this to: `(**body.conn())`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
    = note: `#[warn(clippy::needless_borrow)]` on by default

Check warning on line 98 in client/src/http_tunnel.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this expression borrows a value the compiler would automatically borrow

warning: this expression borrows a value the compiler would automatically borrow
  --> client/src/http_tunnel.rs:98:36
   |
98 |                 while let Err(e) = (&mut **body.conn()).flush() {
   |                                    ^^^^^^^^^^^^^^^^^^^^ help: change this to: `(**body.conn())`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow

Check warning on line 137 in client/src/ws.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this expression borrows a value the compiler would automatically borrow

warning: this expression borrows a value the compiler would automatically borrow
   --> client/src/ws.rs:137:36
    |
137 |                 while let Err(e) = (&mut **body.conn()).flush() {
    |                                    ^^^^^^^^^^^^^^^^^^^^ help: change this to: `(**body.conn())`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
    = note: `#[warn(clippy::needless_borrow)]` on by default

Check warning on line 279 in web/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

item has both inner and outer attributes

warning: item has both inner and outer attributes
   --> web/src/lib.rs:277:1
    |
277 | / #[cfg(feature = "codegen")]
278 | | pub mod codegen {
279 | |     //! macro code generation module.
    | |_____________________________________^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mixed_attributes_style
    = note: `#[warn(clippy::mixed_attributes_style)]` on by default

Check warning on line 279 in web/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

item has both inner and outer attributes

warning: item has both inner and outer attributes
   --> web/src/lib.rs:277:1
    |
277 | / #[cfg(feature = "codegen")]
278 | | pub mod codegen {
279 | |     //! macro code generation module.
    | |_____________________________________^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mixed_attributes_style
    = note: `#[warn(clippy::mixed_attributes_style)]` on by default

Check warning on line 44 in postgres/src/driver/generic.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

method `take_rx` is never used

warning: method `take_rx` is never used
  --> postgres/src/driver/generic.rs:44:19
   |
43 | impl DriverState {
   | ---------------- method in this implementation
44 |     pub(crate) fn take_rx(self) -> GenericDriverRx {
   |                   ^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default

Check warning on line 225 in http-ws/src/proto.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

item has both inner and outer attributes

warning: item has both inner and outer attributes
   --> http-ws/src/proto.rs:223:1
    |
223 | / #[cfg(test)]
224 | | mod test {
225 | |     #![allow(unused_imports, unused_variables, dead_code)]
    | |__________________________________________________________^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mixed_attributes_style
    = note: `#[warn(clippy::mixed_attributes_style)]` on by default

Check warning on line 225 in http-ws/src/proto.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

item has both inner and outer attributes

warning: item has both inner and outer attributes
   --> http-ws/src/proto.rs:223:1
    |
223 | / #[cfg(test)]
224 | | mod test {
225 | |     #![allow(unused_imports, unused_variables, dead_code)]
    | |__________________________________________________________^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mixed_attributes_style
    = note: `#[warn(clippy::mixed_attributes_style)]` on by default