]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/question_mark.stderr
`question_mark` don't lint on `if let Err` with else
[rust.git] / tests / ui / question_mark.stderr
index 1b6cd524b2f2339484878443a9e09f2acc00917a..23172d7e535dd484e165d8ab896c271f70116127 100644 (file)
@@ -115,7 +115,7 @@ LL | |     }
    | |_____^ 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);
@@ -123,7 +123,7 @@ LL | |     }
    | |_____^ 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);