### Description Hello all, Is this warning OK - or false positive ? ```rust let r: Result<i32, std::num::ParseIntError> = (|| -> Result<i32, std::num::ParseIntError> { Ok("1".parse::<i32>()?) })(); ``` Gives: > question mark operator is useless here for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark `#[warn(clippy::needless_question_mark)]` on by default ---------------------- But of course: ```rust let r: Result<i32, std::num::ParseIntError> = (|| -> Result<i32, std::num::ParseIntError> { Ok("1".parse::<i32>() ) })(); ``` Gives: > mismatched types expected type `i32` found enum `std::result::Result<i32, std::num::ParseIntError>` ---------------------- And this: ```rust let r: Result<i32, std::num::ParseIntError> = (|| -> Result<i32, std::num::ParseIntError> { Ok("1".parse::<i32>()? + "2".parse::<i32>()?) })(); ``` does not produce warning. ### Version ```text ``` ### Additional Labels _No response_