|
1 | | -error[E0277]: the trait bound `{static coroutine@$DIR/clone-impl-static.rs:9:5: 9:19}: Copy` is not satisfied |
2 | | - --> $DIR/clone-impl-static.rs:12:16 |
| 1 | +error[E0277]: the trait bound `{static coroutine@$DIR/clone-impl-static.rs:11:5: 11:19}: Copy` is not satisfied |
| 2 | + --> $DIR/clone-impl-static.rs:14:16 |
3 | 3 | | |
4 | 4 | LL | check_copy(&gen); |
5 | | - | ---------- ^^^^ the trait `Copy` is not implemented for `{static coroutine@$DIR/clone-impl-static.rs:9:5: 9:19}` |
| 5 | + | ---------- ^^^^ the trait `Copy` is not implemented for `{static coroutine@$DIR/clone-impl-static.rs:11:5: 11:19}` |
6 | 6 | | | |
7 | 7 | | required by a bound introduced by this call |
8 | 8 | | |
9 | 9 | note: required by a bound in `check_copy` |
10 | | - --> $DIR/clone-impl-static.rs:18:18 |
| 10 | + --> $DIR/clone-impl-static.rs:20:18 |
11 | 11 | | |
12 | 12 | LL | fn check_copy<T: Copy>(_x: &T) {} |
13 | 13 | | ^^^^ required by this bound in `check_copy` |
14 | 14 |
|
15 | | -error[E0277]: the trait bound `{static coroutine@$DIR/clone-impl-static.rs:9:5: 9:19}: Clone` is not satisfied |
16 | | - --> $DIR/clone-impl-static.rs:14:17 |
| 15 | +error[E0277]: the trait bound `{static coroutine@$DIR/clone-impl-static.rs:11:5: 11:19}: Clone` is not satisfied |
| 16 | + --> $DIR/clone-impl-static.rs:16:17 |
17 | 17 | | |
18 | 18 | LL | check_clone(&gen); |
19 | | - | ----------- ^^^^ the trait `Clone` is not implemented for `{static coroutine@$DIR/clone-impl-static.rs:9:5: 9:19}` |
| 19 | + | ----------- ^^^^ the trait `Clone` is not implemented for `{static coroutine@$DIR/clone-impl-static.rs:11:5: 11:19}` |
20 | 20 | | | |
21 | 21 | | required by a bound introduced by this call |
22 | 22 | | |
23 | 23 | note: required by a bound in `check_clone` |
24 | | - --> $DIR/clone-impl-static.rs:19:19 |
| 24 | + --> $DIR/clone-impl-static.rs:21:19 |
25 | 25 | | |
26 | 26 | LL | fn check_clone<T: Clone>(_x: &T) {} |
27 | 27 | | ^^^^^ required by this bound in `check_clone` |
|
0 commit comments