mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-25 20:07:21 +00:00
Make search_is_some
s suggestion MachineApplicable
This commit is contained in:
parent
dc5423ad44
commit
fc5540a4d3
1 changed files with 1 additions and 1 deletions
|
@ -808,7 +808,7 @@ pub fn deref_closure_args<'tcx>(cx: &LateContext<'_>, closure: &'tcx hir::Expr<'
|
||||||
closure_arg_is_type_annotated_double_ref,
|
closure_arg_is_type_annotated_double_ref,
|
||||||
next_pos: closure.span.lo(),
|
next_pos: closure.span.lo(),
|
||||||
suggestion_start: String::new(),
|
suggestion_start: String::new(),
|
||||||
applicability: Applicability::MaybeIncorrect,
|
applicability: Applicability::MachineApplicable,
|
||||||
};
|
};
|
||||||
|
|
||||||
let fn_def_id = cx.tcx.hir().local_def_id(closure.hir_id);
|
let fn_def_id = cx.tcx.hir().local_def_id(closure.hir_id);
|
||||||
|
|
Loading…
Add table
Reference in a new issue