]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/same_functions_in_if_condition.stderr
Auto merge of #8374 - Alexendoo:bless-revisions, r=camsteffen
[rust.git] / tests / ui / same_functions_in_if_condition.stderr
index 214f1a9e7c8fae78d7a86fdc1b544b583841e973..363a03846d236e72ce5b2cd3296e16bb4d7aaf02 100644 (file)
@@ -1,4 +1,4 @@
-error: this `if` has the same function call as a previous if
+error: this `if` has the same function call as a previous `if`
   --> $DIR/same_functions_in_if_condition.rs:29:15
    |
 LL |     } else if function() {
@@ -11,7 +11,7 @@ note: same as this
 LL |     if function() {
    |        ^^^^^^^^^^
 
-error: this `if` has the same function call as a previous if
+error: this `if` has the same function call as a previous `if`
   --> $DIR/same_functions_in_if_condition.rs:34:15
    |
 LL |     } else if fn_arg(a) {
@@ -23,7 +23,7 @@ note: same as this
 LL |     if fn_arg(a) {
    |        ^^^^^^^^^
 
-error: this `if` has the same function call as a previous if
+error: this `if` has the same function call as a previous `if`
   --> $DIR/same_functions_in_if_condition.rs:39:15
    |
 LL |     } else if obj.method() {
@@ -35,7 +35,7 @@ note: same as this
 LL |     if obj.method() {
    |        ^^^^^^^^^^^^
 
-error: this `if` has the same function call as a previous if
+error: this `if` has the same function call as a previous `if`
   --> $DIR/same_functions_in_if_condition.rs:44:15
    |
 LL |     } else if obj.method_arg(a) {
@@ -47,7 +47,7 @@ note: same as this
 LL |     if obj.method_arg(a) {
    |        ^^^^^^^^^^^^^^^^^
 
-error: this `if` has the same function call as a previous if
+error: this `if` has the same function call as a previous `if`
   --> $DIR/same_functions_in_if_condition.rs:51:15
    |
 LL |     } else if v.pop() == None {
@@ -59,7 +59,7 @@ note: same as this
 LL |     if v.pop() == None {
    |        ^^^^^^^^^^^^^^^
 
-error: this `if` has the same function call as a previous if
+error: this `if` has the same function call as a previous `if`
   --> $DIR/same_functions_in_if_condition.rs:56:15
    |
 LL |     } else if v.len() == 42 {