Skip to content

Commit

Permalink
Add #allow attribute to suppress FP #7698
Browse files Browse the repository at this point in the history
  • Loading branch information
Qwaz committed Oct 3, 2021
1 parent a9e22bc commit 7c2a2ea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions clippy_lints/src/uninit_vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ fn handle_uninit_vec_pair(
// Check T of Vec<T>
if !is_uninit_value_valid_for_ty(cx, substs.type_at(0));
then {
// FIXME: false positive #7698
#[allow(clippy::collapsible_span_lint_calls)]
span_lint_and_then(
cx,
UNINIT_VEC,
Expand Down

0 comments on commit 7c2a2ea

Please sign in to comment.