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
22 --> $DIR/clone-impl-async.rs:17:16
33 |
44LL | 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 = () >`
66 | |
77 | required by a bound introduced by this call
88 |
@@ -12,11 +12,11 @@ note: required by a bound in `check_copy`
1212LL | fn check_copy<T: Copy>(_x: &T) {}
1313 | ^^^^ required by this bound in `check_copy`
1414
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
1616 --> $DIR/clone-impl-async.rs:19:17
1717 |
1818LL | 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 = () >`
2020 | |
2121 | required by a bound introduced by this call
2222 |
@@ -26,11 +26,11 @@ note: required by a bound in `check_clone`
2626LL | fn check_clone<T: Clone>(_x: &T) {}
2727 | ^^^^^ required by this bound in `check_clone`
2828
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
3030 --> $DIR/clone-impl-async.rs:26:16
3131 |
3232LL | 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 = () >`
3434 | |
3535 | required by a bound introduced by this call
3636 |
@@ -40,11 +40,11 @@ note: required by a bound in `check_copy`
4040LL | fn check_copy<T: Copy>(_x: &T) {}
4141 | ^^^^ required by this bound in `check_copy`
4242
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
4444 --> $DIR/clone-impl-async.rs:28:17
4545 |
4646LL | 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 = () >`
4848 | |
4949 | required by a bound introduced by this call
5050 |
@@ -54,11 +54,11 @@ note: required by a bound in `check_clone`
5454LL | fn check_clone<T: Clone>(_x: &T) {}
5555 | ^^^^^ required by this bound in `check_clone`
5656
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
5858 --> $DIR/clone-impl-async.rs:32:16
5959 |
6060LL | 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 = () >`
6262 | |
6363 | required by a bound introduced by this call
6464 |
@@ -68,11 +68,11 @@ note: required by a bound in `check_copy`
6868LL | fn check_copy<T: Copy>(_x: &T) {}
6969 | ^^^^ required by this bound in `check_copy`
7070
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
7272 --> $DIR/clone-impl-async.rs:34:17
7373 |
7474LL | 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 = () >`
7676 | |
7777 | required by a bound introduced by this call
7878 |
0 commit comments