1
- error[E0277]: the trait bound `impl Future<Output = [async output] >: Copy` is not satisfied
1
+ error[E0277]: the trait bound `impl Future<Output = () >: Copy` is not satisfied
2
2
--> $DIR/clone-impl-async.rs:17:16
3
3
|
4
4
LL | check_copy(&inner_non_clone);
5
- | ---------- ^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `impl Future<Output = [async output] >`
5
+ | ---------- ^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `impl Future<Output = () >`
6
6
| |
7
7
| required by a bound introduced by this call
8
8
|
@@ -12,11 +12,11 @@ note: required by a bound in `check_copy`
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 `impl Future<Output = [async output] >: Clone` is not satisfied
15
+ error[E0277]: the trait bound `impl Future<Output = () >: Clone` is not satisfied
16
16
--> $DIR/clone-impl-async.rs:19:17
17
17
|
18
18
LL | check_clone(&inner_non_clone);
19
- | ----------- ^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `impl Future<Output = [async output] >`
19
+ | ----------- ^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `impl Future<Output = () >`
20
20
| |
21
21
| required by a bound introduced by this call
22
22
|
@@ -26,11 +26,11 @@ note: required by a bound in `check_clone`
26
26
LL | fn check_clone<T: Clone>(_x: &T) {}
27
27
| ^^^^^ required by this bound in `check_clone`
28
28
29
- error[E0277]: the trait bound `impl Future<Output = [async output] >: Copy` is not satisfied
29
+ error[E0277]: the trait bound `impl Future<Output = () >: Copy` is not satisfied
30
30
--> $DIR/clone-impl-async.rs:26:16
31
31
|
32
32
LL | check_copy(&outer_non_clone);
33
- | ---------- ^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `impl Future<Output = [async output] >`
33
+ | ---------- ^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `impl Future<Output = () >`
34
34
| |
35
35
| required by a bound introduced by this call
36
36
|
@@ -40,11 +40,11 @@ note: required by a bound in `check_copy`
40
40
LL | fn check_copy<T: Copy>(_x: &T) {}
41
41
| ^^^^ required by this bound in `check_copy`
42
42
43
- error[E0277]: the trait bound `impl Future<Output = [async output] >: Clone` is not satisfied
43
+ error[E0277]: the trait bound `impl Future<Output = () >: Clone` is not satisfied
44
44
--> $DIR/clone-impl-async.rs:28:17
45
45
|
46
46
LL | check_clone(&outer_non_clone);
47
- | ----------- ^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `impl Future<Output = [async output] >`
47
+ | ----------- ^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `impl Future<Output = () >`
48
48
| |
49
49
| required by a bound introduced by this call
50
50
|
@@ -54,11 +54,11 @@ note: required by a bound in `check_clone`
54
54
LL | fn check_clone<T: Clone>(_x: &T) {}
55
55
| ^^^^^ required by this bound in `check_clone`
56
56
57
- error[E0277]: the trait bound `impl Future<Output = [async output] >: Copy` is not satisfied
57
+ error[E0277]: the trait bound `impl Future<Output = () >: Copy` is not satisfied
58
58
--> $DIR/clone-impl-async.rs:32:16
59
59
|
60
60
LL | check_copy(&maybe_copy_clone);
61
- | ---------- ^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `impl Future<Output = [async output] >`
61
+ | ---------- ^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `impl Future<Output = () >`
62
62
| |
63
63
| required by a bound introduced by this call
64
64
|
@@ -68,11 +68,11 @@ note: required by a bound in `check_copy`
68
68
LL | fn check_copy<T: Copy>(_x: &T) {}
69
69
| ^^^^ required by this bound in `check_copy`
70
70
71
- error[E0277]: the trait bound `impl Future<Output = [async output] >: Clone` is not satisfied
71
+ error[E0277]: the trait bound `impl Future<Output = () >: Clone` is not satisfied
72
72
--> $DIR/clone-impl-async.rs:34:17
73
73
|
74
74
LL | check_clone(&maybe_copy_clone);
75
- | ----------- ^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `impl Future<Output = [async output] >`
75
+ | ----------- ^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `impl Future<Output = () >`
76
76
| |
77
77
| required by a bound introduced by this call
78
78
|
0 commit comments