@@ -110,7 +110,7 @@ error[E0308]: mismatched types
110
110
--> $DIR/structure-constructor-type-mismatch.rs:54:9
111
111
|
112
112
LL | match (Point { x: 1, y: 2 }) {
113
- | ---------------------- this match expression evaluates to `Point<{integer}>`
113
+ | ---------------------- this match expression has type `Point<{integer}>`
114
114
LL | PointF::<u32> { .. } => {} //~ ERROR wrong number of type arguments
115
115
| ^^^^^^^^^^^^^^^^^^^^ expected integer, found f32
116
116
|
@@ -121,7 +121,7 @@ error[E0308]: mismatched types
121
121
--> $DIR/structure-constructor-type-mismatch.rs:59:9
122
122
|
123
123
LL | match (Point { x: 1, y: 2 }) {
124
- | ---------------------- this match expression evaluates to `Point<{integer}>`
124
+ | ---------------------- this match expression has type `Point<{integer}>`
125
125
LL | PointF { .. } => {} //~ ERROR mismatched types
126
126
| ^^^^^^^^^^^^^ expected integer, found f32
127
127
|
@@ -132,7 +132,7 @@ error[E0308]: mismatched types
132
132
--> $DIR/structure-constructor-type-mismatch.rs:67:9
133
133
|
134
134
LL | match (Pair { x: 1, y: 2 }) {
135
- | --------------------- this match expression evaluates to `Pair<{integer}, {integer}>`
135
+ | --------------------- this match expression has type `Pair<{integer}, {integer}>`
136
136
LL | PairF::<u32> { .. } => {} //~ ERROR mismatched types
137
137
| ^^^^^^^^^^^^^^^^^^^ expected integer, found f32
138
138
|
0 commit comments