Skip to content

Commit d5bf4de

Browse files
committed
--bless the tests
1 parent 03d816f commit d5bf4de

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/test/ui/break-while-condition.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,16 @@ fn main() {
2222
}
2323

2424
if false {
25-
let _: ! = { //~ ERROR mismatched types
26-
while false {
25+
let _: ! = {
26+
while false { //~ ERROR mismatched types
2727
break
2828
}
2929
};
3030
}
3131

3232
if false {
33-
let _: ! = { //~ ERROR mismatched types
34-
while false {
33+
let _: ! = {
34+
while false { //~ ERROR mismatched types
3535
return
3636
}
3737
};

src/test/ui/break-while-condition.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ error[E0308]: mismatched types
1616
LL | fn main() {
1717
| - expected `()` because of default return type
1818
...
19-
LL | / while false {
19+
LL | / while false { //~ ERROR mismatched types
2020
LL | | break
2121
LL | | }
2222
| |_____________^ expected !, found ()
@@ -30,7 +30,7 @@ error[E0308]: mismatched types
3030
LL | fn main() {
3131
| - expected `()` because of default return type
3232
...
33-
LL | / while false {
33+
LL | / while false { //~ ERROR mismatched types
3434
LL | | return
3535
LL | | }
3636
| |_____________^ expected !, found ()

0 commit comments

Comments
 (0)