| |_____^ help: replace it with: `x?;`
error: this block may be rewritten with the `?` operator
- --> $DIR/question_mark.rs:193:5
+ --> $DIR/question_mark.rs:196:5
|
LL | / if let Err(err) = func_returning_result() {
LL | | return Err(err);
| |_____^ help: replace it with: `func_returning_result()?;`
error: this block may be rewritten with the `?` operator
- --> $DIR/question_mark.rs:200:5
+ --> $DIR/question_mark.rs:203:5
|
LL | / if let Err(err) = func_returning_result() {
LL | | return Err(err);