Skip to content

Commit

Permalink
fix(clippy): add missing allow(dyn_drop)
Browse files Browse the repository at this point in the history
  • Loading branch information
notriddle committed Jul 18, 2021
1 parent 83d3a94 commit e054522
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/clippy/tests/ui/needless_lifetimes.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#![warn(clippy::needless_lifetimes)]
#![allow(dead_code, clippy::needless_pass_by_value, clippy::unnecessary_wraps)]
#![allow(dead_code, clippy::needless_pass_by_value, clippy::unnecessary_wraps, dyn_drop)]

fn distinct_lifetimes<'a, 'b>(_x: &'a u8, _y: &'b u8, _z: u8) {}

Expand Down

0 comments on commit e054522

Please sign in to comment.