Skip to content

Commit 7c2a2ea

Browse files
committed
Add #allow attribute to suppress FP #7698
1 parent a9e22bc commit 7c2a2ea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clippy_lints/src/uninit_vec.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ fn handle_uninit_vec_pair(
7171
// Check T of Vec<T>
7272
if !is_uninit_value_valid_for_ty(cx, substs.type_at(0));
7373
then {
74+
// FIXME: false positive #7698
75+
#[allow(clippy::collapsible_span_lint_calls)]
7476
span_lint_and_then(
7577
cx,
7678
UNINIT_VEC,

0 commit comments

Comments
 (0)