diff --git a/src/test/ui/if-without-block.stderr b/src/test/ui/if-without-block.stderr index 8f6e53bd28bf..bc8e7310ce37 100644 --- a/src/test/ui/if-without-block.stderr +++ b/src/test/ui/if-without-block.stderr @@ -1,10 +1,10 @@ error: expected `{`, found `}` --> $DIR/if-without-block.rs:17:1 | -13 | if 5 == { +LL | if 5 == { | -- this `if` statement has a condition, but no block ... -17 | } +LL | } | ^ error: aborting due to previous error diff --git a/src/test/ui/suggestions/missing-comma-in-match.stderr b/src/test/ui/suggestions/missing-comma-in-match.stderr index 71123a160a5f..b71a50b66318 100644 --- a/src/test/ui/suggestions/missing-comma-in-match.stderr +++ b/src/test/ui/suggestions/missing-comma-in-match.stderr @@ -1,9 +1,9 @@ error: expected one of `,`, `.`, `?`, `}`, or an operator, found `=>` --> $DIR/missing-comma-in-match.rs:14:18 | -13 | &None => 1 +LL | &None => 1 | - help: missing a comma here to end this `match` arm -14 | &Some(2) => { 3 } +LL | &Some(2) => { 3 } | ^^ expected one of `,`, `.`, `?`, `}`, or an operator here error: aborting due to previous error