mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
Add #allow attribute to suppress FP #7698
This commit is contained in:
parent
fdc06d9b2b
commit
fec20bf617
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user