diff --git a/clippy_lints/src/uninit_vec.rs b/clippy_lints/src/uninit_vec.rs index b9b575a452b12..4d556d62c9bda 100644 --- a/clippy_lints/src/uninit_vec.rs +++ b/clippy_lints/src/uninit_vec.rs @@ -71,6 +71,8 @@ fn handle_uninit_vec_pair( // Check T of Vec 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,