Skip to content

Commit

Permalink
Ignore explicit_auto_deref clippy lint
Browse files Browse the repository at this point in the history
    error: deref which would be done by auto-deref
      --> src/expand.rs:85:43
       |
    85 |             lifetimes.visit_type_mut(&mut *input.self_ty);
       |                                           ^^^^^^^^^^^^^^ help: try this: `input.self_ty`
       |
       = note: `-D clippy::explicit-auto-deref` implied by `-D clippy::all`
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
  • Loading branch information
dtolnay committed Jul 2, 2022
1 parent 408e77f commit c93e97c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@
#![allow(
clippy::default_trait_access,
clippy::doc_markdown,
clippy::explicit_auto_deref,
clippy::if_not_else,
clippy::items_after_statements,
clippy::module_name_repetitions,
Expand Down

0 comments on commit c93e97c

Please sign in to comment.