2024-01-11 13:02:50 +01:00
|
|
|
error: implementation of `Coroutine` is not general enough
|
2022-04-01 13:13:25 -04:00
|
|
|
--> $DIR/resume-arg-late-bound.rs:15:5
|
2020-06-08 23:12:01 +00:00
|
|
|
|
|
|
|
|
|
LL | test(gen);
|
2024-01-11 13:02:50 +01:00
|
|
|
| ^^^^^^^^^ implementation of `Coroutine` is not general enough
|
2021-06-07 20:25:19 +01:00
|
|
|
|
|
2024-04-11 13:15:34 +00:00
|
|
|
= note: `{coroutine@$DIR/resume-arg-late-bound.rs:11:28: 11:44}` must implement `Coroutine<&'1 mut bool>`, for any lifetime `'1`...
|
2024-01-11 13:02:50 +01:00
|
|
|
= note: ...but it actually implements `Coroutine<&'2 mut bool>`, for some specific lifetime `'2`
|
2020-06-08 23:12:01 +00:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2020-06-08 23:12:01 +00:00
|
|
|
|