☰
In rustc_lint::for_loops_over_fallibles
Structs
ForLoopsOverFallibles
Statics
FOR_LOOPS_OVER_FALLIBLES
Functions
extract_for_loop
extract_iterator_next_call
suggest_question_mark
?
Function
rustc_lint
::
for_loops_over_fallibles
::
extract_for_loop
source
·
[
−
]
fn extract_for_loop<'tcx>(
expr: &
Expr
<'tcx>
) ->
Option
<(&'tcx
Pat
<'tcx>, &'tcx
Expr
<'tcx>)>