Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Commit

Permalink
Ignore let_underscore_untyped pedantic clippy lint
Browse files Browse the repository at this point in the history
    error: non-binding `let` without a type annotation
      --> src/libyaml/util.rs:46:9
       |
    46 |         let _ = unsafe { Box::from_raw(self.ptr.as_ptr()) };
       |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       |
       = help: consider adding a type annotation or removing the `let` keyword
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
       = note: `-D clippy::let-underscore-untyped` implied by `-D clippy::pedantic`
  • Loading branch information
dtolnay committed Feb 27, 2023
1 parent 68a9e95 commit 73bf2c3
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 @@ -147,6 +147,7 @@
clippy::derived_hash_with_manual_eq,
clippy::doc_markdown,
clippy::items_after_statements,
clippy::let_underscore_untyped,
clippy::manual_map,
clippy::missing_panics_doc,
clippy::never_loop,
Expand Down

0 comments on commit 73bf2c3

Please sign in to comment.