Hi, I get the identical conversion clippy lint in the following for loop:
for (m, board) in determine_all_moves(board)? {
println!("Moves: {:?}, board: {}", m, board);
}
where
fn determine_all_moves<T: ...>(board: T) -> Result<Vec<..>, PacoError>
Is that a false positive or am I missing something?
Not enough information to tell, what is it highlighting for the lint? Nothing you have shown looks like it would trigger it.
That seems weird, I don't know what is triggering clippy. I don't see any into
, from
, or into_iter
, which are the only things which would trigger it.
ExpHP
5
There's one implicitly in the desugaring of expr?
(which is precicely what the span points to), but the lint shouldn't be firing there...
Then I'll try to reduce it to a minimal example and submit a clippy issue later.
ExpHP
7
2 Likes
Yes, running the latest nightly clippy does indeed fix the issue.
system
Closed
9
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.