@@ -2,7 +2,7 @@ error[E0308]: mismatched types
22 --> $DIR/coerce-to-bang.rs:6:17
33 |
44LL | foo(return, 22, 44);
5- | ^^ expected !, found integral variable
5+ | ^^ expected !, found integer
66 |
77 = note: expected type `!`
88 found type `{integer}`
@@ -11,7 +11,7 @@ error[E0308]: mismatched types
1111 --> $DIR/coerce-to-bang.rs:18:13
1212 |
1313LL | foo(22, 44, return); //~ ERROR mismatched types
14- | ^^ expected !, found integral variable
14+ | ^^ expected !, found integer
1515 |
1616 = note: expected type `!`
1717 found type `{integer}`
@@ -20,7 +20,7 @@ error[E0308]: mismatched types
2020 --> $DIR/coerce-to-bang.rs:26:12
2121 |
2222LL | foo(a, b, c); // ... and hence a reference to `a` is expected to diverge.
23- | ^ expected !, found integral variable
23+ | ^ expected !, found integer
2424 |
2525 = note: expected type `!`
2626 found type `{integer}`
@@ -29,7 +29,7 @@ error[E0308]: mismatched types
2929 --> $DIR/coerce-to-bang.rs:36:12
3030 |
3131LL | foo(a, b, c); //~ ERROR mismatched types
32- | ^ expected !, found integral variable
32+ | ^ expected !, found integer
3333 |
3434 = note: expected type `!`
3535 found type `{integer}`
@@ -38,7 +38,7 @@ error[E0308]: mismatched types
3838 --> $DIR/coerce-to-bang.rs:45:12
3939 |
4040LL | foo(a, b, c); //~ ERROR mismatched types
41- | ^ expected !, found integral variable
41+ | ^ expected !, found integer
4242 |
4343 = note: expected type `!`
4444 found type `{integer}`
@@ -47,7 +47,7 @@ error[E0308]: mismatched types
4747 --> $DIR/coerce-to-bang.rs:50:21
4848 |
4949LL | let x: [!; 2] = [return, 22]; //~ ERROR mismatched types
50- | ^^^^^^^^^^^^ expected !, found integral variable
50+ | ^^^^^^^^^^^^ expected !, found integer
5151 |
5252 = note: expected type `[!; 2]`
5353 found type `[{integer}; 2]`
@@ -56,7 +56,7 @@ error[E0308]: mismatched types
5656 --> $DIR/coerce-to-bang.rs:55:22
5757 |
5858LL | let x: [!; 2] = [22, return]; //~ ERROR mismatched types
59- | ^^ expected !, found integral variable
59+ | ^^ expected !, found integer
6060 |
6161 = note: expected type `!`
6262 found type `{integer}`
@@ -65,7 +65,7 @@ error[E0308]: mismatched types
6565 --> $DIR/coerce-to-bang.rs:60:37
6666 |
6767LL | let x: (usize, !, usize) = (22, 44, 66); //~ ERROR mismatched types
68- | ^^ expected !, found integral variable
68+ | ^^ expected !, found integer
6969 |
7070 = note: expected type `!`
7171 found type `{integer}`
@@ -74,7 +74,7 @@ error[E0308]: mismatched types
7474 --> $DIR/coerce-to-bang.rs:65:41
7575 |
7676LL | let x: (usize, !, usize) = (return, 44, 66);
77- | ^^ expected !, found integral variable
77+ | ^^ expected !, found integer
7878 |
7979 = note: expected type `!`
8080 found type `{integer}`
@@ -83,7 +83,7 @@ error[E0308]: mismatched types
8383 --> $DIR/coerce-to-bang.rs:76:37
8484 |
8585LL | let x: (usize, !, usize) = (22, 44, return); //~ ERROR mismatched types
86- | ^^ expected !, found integral variable
86+ | ^^ expected !, found integer
8787 |
8888 = note: expected type `!`
8989 found type `{integer}`
0 commit comments