@@ -17,12 +17,20 @@ LL | type LineStream<'c, 'd> = impl Stream;
17
17
| |
18
18
| found 0 type parameters
19
19
20
- error[E0271]: type mismatch resolving `<Y as X>::LineStreamFut<'a, Repr> == ()`
20
+ error[E0271]: type mismatch resolving `<Y as X>::LineStreamFut<'a, Repr> normalizes-to ()`
21
21
--> $DIR/ice-unexpected-param-type-whensubstituting-in-region-112823.rs:28:43
22
22
|
23
23
LL | fn line_stream<'a, Repr>(&'a self) -> Self::LineStreamFut<'a, Repr> {}
24
24
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ
25
25
26
+ error[E0271]: type mismatch resolving `<Y as X>::LineStreamFut<'a, Repr> normalizes-to _`
27
+ --> $DIR/ice-unexpected-param-type-whensubstituting-in-region-112823.rs:28:43
28
+ |
29
+ LL | fn line_stream<'a, Repr>(&'a self) -> Self::LineStreamFut<'a, Repr> {}
30
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ
31
+ |
32
+ = note: the return type of a function must have a statically known size
33
+
26
34
error[E0271]: type mismatch resolving `<Y as X>::LineStreamFut<'a, Repr> normalizes-to _`
27
35
--> $DIR/ice-unexpected-param-type-whensubstituting-in-region-112823.rs:28:73
28
36
|
@@ -35,7 +43,7 @@ error[E0271]: type mismatch resolving `<Y as X>::LineStreamFut<'a, Repr> normali
35
43
LL | fn line_stream<'a, Repr>(&'a self) -> Self::LineStreamFut<'a, Repr> {}
36
44
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ
37
45
38
- error: aborting due to 5 previous errors
46
+ error: aborting due to 6 previous errors
39
47
40
48
Some errors have detailed explanations: E0049, E0271, E0407.
41
49
For more information about an error, try `rustc --explain E0049`.
0 commit comments