|
1 |
| -error[E0277]: the trait bound `{async block@$DIR/clone-impl-async.rs:12:27: 12:32}: Copy` is not satisfied |
2 |
| - --> $DIR/clone-impl-async.rs:17:16 |
| 1 | +error[E0277]: the trait bound `{async block@$DIR/clone-impl-async.rs:13:27: 13:32}: Copy` is not satisfied |
| 2 | + --> $DIR/clone-impl-async.rs:18:16 |
3 | 3 | |
|
4 | 4 | LL | check_copy(&inner_non_clone);
|
5 |
| - | ---------- ^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `{async block@$DIR/clone-impl-async.rs:12:27: 12:32}` |
| 5 | + | ---------- ^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `{async block@$DIR/clone-impl-async.rs:13:27: 13:32}` |
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-async.rs:69:18 |
| 10 | + --> $DIR/clone-impl-async.rs:70: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 `{async block@$DIR/clone-impl-async.rs:12:27: 12:32}: Clone` is not satisfied |
16 |
| - --> $DIR/clone-impl-async.rs:19:17 |
| 15 | +error[E0277]: the trait bound `{async block@$DIR/clone-impl-async.rs:13:27: 13:32}: Clone` is not satisfied |
| 16 | + --> $DIR/clone-impl-async.rs:20:17 |
17 | 17 | |
|
18 | 18 | LL | check_clone(&inner_non_clone);
|
19 |
| - | ----------- ^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `{async block@$DIR/clone-impl-async.rs:12:27: 12:32}` |
| 19 | + | ----------- ^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `{async block@$DIR/clone-impl-async.rs:13:27: 13:32}` |
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-async.rs:70:19 |
| 24 | + --> $DIR/clone-impl-async.rs:71:19 |
25 | 25 | |
|
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 `{async block@$DIR/clone-impl-async.rs:23:27: 23:37}: Copy` is not satisfied |
30 |
| - --> $DIR/clone-impl-async.rs:26:16 |
| 29 | +error[E0277]: the trait bound `{async block@$DIR/clone-impl-async.rs:24:27: 24:37}: Copy` is not satisfied |
| 30 | + --> $DIR/clone-impl-async.rs:27:16 |
31 | 31 | |
|
32 | 32 | LL | check_copy(&outer_non_clone);
|
33 |
| - | ---------- ^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `{async block@$DIR/clone-impl-async.rs:23:27: 23:37}` |
| 33 | + | ---------- ^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `{async block@$DIR/clone-impl-async.rs:24:27: 24:37}` |
34 | 34 | | |
|
35 | 35 | | required by a bound introduced by this call
|
36 | 36 | |
|
37 | 37 | note: required by a bound in `check_copy`
|
38 |
| - --> $DIR/clone-impl-async.rs:69:18 |
| 38 | + --> $DIR/clone-impl-async.rs:70:18 |
39 | 39 | |
|
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 `{async block@$DIR/clone-impl-async.rs:23:27: 23:37}: Clone` is not satisfied |
44 |
| - --> $DIR/clone-impl-async.rs:28:17 |
| 43 | +error[E0277]: the trait bound `{async block@$DIR/clone-impl-async.rs:24:27: 24:37}: Clone` is not satisfied |
| 44 | + --> $DIR/clone-impl-async.rs:29:17 |
45 | 45 | |
|
46 | 46 | LL | check_clone(&outer_non_clone);
|
47 |
| - | ----------- ^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `{async block@$DIR/clone-impl-async.rs:23:27: 23:37}` |
| 47 | + | ----------- ^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `{async block@$DIR/clone-impl-async.rs:24:27: 24:37}` |
48 | 48 | | |
|
49 | 49 | | required by a bound introduced by this call
|
50 | 50 | |
|
51 | 51 | note: required by a bound in `check_clone`
|
52 |
| - --> $DIR/clone-impl-async.rs:70:19 |
| 52 | + --> $DIR/clone-impl-async.rs:71:19 |
53 | 53 | |
|
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 `{async block@$DIR/clone-impl-async.rs:31:28: 31:38}: Copy` is not satisfied |
58 |
| - --> $DIR/clone-impl-async.rs:32:16 |
| 57 | +error[E0277]: the trait bound `{async block@$DIR/clone-impl-async.rs:32:28: 32:38}: Copy` is not satisfied |
| 58 | + --> $DIR/clone-impl-async.rs:33:16 |
59 | 59 | |
|
60 | 60 | LL | check_copy(&maybe_copy_clone);
|
61 |
| - | ---------- ^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `{async block@$DIR/clone-impl-async.rs:31:28: 31:38}` |
| 61 | + | ---------- ^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `{async block@$DIR/clone-impl-async.rs:32:28: 32:38}` |
62 | 62 | | |
|
63 | 63 | | required by a bound introduced by this call
|
64 | 64 | |
|
65 | 65 | note: required by a bound in `check_copy`
|
66 |
| - --> $DIR/clone-impl-async.rs:69:18 |
| 66 | + --> $DIR/clone-impl-async.rs:70:18 |
67 | 67 | |
|
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 `{async block@$DIR/clone-impl-async.rs:31:28: 31:38}: Clone` is not satisfied |
72 |
| - --> $DIR/clone-impl-async.rs:34:17 |
| 71 | +error[E0277]: the trait bound `{async block@$DIR/clone-impl-async.rs:32:28: 32:38}: Clone` is not satisfied |
| 72 | + --> $DIR/clone-impl-async.rs:35:17 |
73 | 73 | |
|
74 | 74 | LL | check_clone(&maybe_copy_clone);
|
75 |
| - | ----------- ^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `{async block@$DIR/clone-impl-async.rs:31:28: 31:38}` |
| 75 | + | ----------- ^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `{async block@$DIR/clone-impl-async.rs:32:28: 32:38}` |
76 | 76 | | |
|
77 | 77 | | required by a bound introduced by this call
|
78 | 78 | |
|
79 | 79 | note: required by a bound in `check_clone`
|
80 |
| - --> $DIR/clone-impl-async.rs:70:19 |
| 80 | + --> $DIR/clone-impl-async.rs:71:19 |
81 | 81 | |
|
82 | 82 | LL | fn check_clone<T: Clone>(_x: &T) {}
|
83 | 83 | | ^^^^^ required by this bound in `check_clone`
|
84 | 84 |
|
85 | 85 | error[E0277]: the trait bound `impl Future<Output = ()>: Copy` is not satisfied
|
86 |
| - --> $DIR/clone-impl-async.rs:38:16 |
| 86 | + --> $DIR/clone-impl-async.rs:39:16 |
87 | 87 | |
|
88 | 88 | LL | check_copy(&inner_non_clone_fn);
|
89 | 89 | | ---------- ^^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `impl Future<Output = ()>`
|
90 | 90 | | |
|
91 | 91 | | required by a bound introduced by this call
|
92 | 92 | |
|
93 | 93 | note: required by a bound in `check_copy`
|
94 |
| - --> $DIR/clone-impl-async.rs:69:18 |
| 94 | + --> $DIR/clone-impl-async.rs:70:18 |
95 | 95 | |
|
96 | 96 | LL | fn check_copy<T: Copy>(_x: &T) {}
|
97 | 97 | | ^^^^ required by this bound in `check_copy`
|
98 | 98 |
|
99 | 99 | error[E0277]: the trait bound `impl Future<Output = ()>: Clone` is not satisfied
|
100 |
| - --> $DIR/clone-impl-async.rs:40:17 |
| 100 | + --> $DIR/clone-impl-async.rs:41:17 |
101 | 101 | |
|
102 | 102 | LL | check_clone(&inner_non_clone_fn);
|
103 | 103 | | ----------- ^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `impl Future<Output = ()>`
|
104 | 104 | | |
|
105 | 105 | | required by a bound introduced by this call
|
106 | 106 | |
|
107 | 107 | note: required by a bound in `check_clone`
|
108 |
| - --> $DIR/clone-impl-async.rs:70:19 |
| 108 | + --> $DIR/clone-impl-async.rs:71:19 |
109 | 109 | |
|
110 | 110 | LL | fn check_clone<T: Clone>(_x: &T) {}
|
111 | 111 | | ^^^^^ required by this bound in `check_clone`
|
112 | 112 |
|
113 | 113 | error[E0277]: the trait bound `impl Future<Output = ()>: Copy` is not satisfied
|
114 |
| - --> $DIR/clone-impl-async.rs:44:16 |
| 114 | + --> $DIR/clone-impl-async.rs:45:16 |
115 | 115 | |
|
116 | 116 | LL | check_copy(&outer_non_clone_fn);
|
117 | 117 | | ---------- ^^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `impl Future<Output = ()>`
|
118 | 118 | | |
|
119 | 119 | | required by a bound introduced by this call
|
120 | 120 | |
|
121 | 121 | note: required by a bound in `check_copy`
|
122 |
| - --> $DIR/clone-impl-async.rs:69:18 |
| 122 | + --> $DIR/clone-impl-async.rs:70:18 |
123 | 123 | |
|
124 | 124 | LL | fn check_copy<T: Copy>(_x: &T) {}
|
125 | 125 | | ^^^^ required by this bound in `check_copy`
|
126 | 126 |
|
127 | 127 | error[E0277]: the trait bound `impl Future<Output = ()>: Clone` is not satisfied
|
128 |
| - --> $DIR/clone-impl-async.rs:46:17 |
| 128 | + --> $DIR/clone-impl-async.rs:47:17 |
129 | 129 | |
|
130 | 130 | LL | check_clone(&outer_non_clone_fn);
|
131 | 131 | | ----------- ^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `impl Future<Output = ()>`
|
132 | 132 | | |
|
133 | 133 | | required by a bound introduced by this call
|
134 | 134 | |
|
135 | 135 | note: required by a bound in `check_clone`
|
136 |
| - --> $DIR/clone-impl-async.rs:70:19 |
| 136 | + --> $DIR/clone-impl-async.rs:71:19 |
137 | 137 | |
|
138 | 138 | LL | fn check_clone<T: Clone>(_x: &T) {}
|
139 | 139 | | ^^^^^ required by this bound in `check_clone`
|
140 | 140 |
|
141 | 141 | error[E0277]: the trait bound `impl Future<Output = ()>: Copy` is not satisfied
|
142 |
| - --> $DIR/clone-impl-async.rs:50:16 |
| 142 | + --> $DIR/clone-impl-async.rs:51:16 |
143 | 143 | |
|
144 | 144 | LL | check_copy(&maybe_copy_clone_fn);
|
145 | 145 | | ---------- ^^^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `impl Future<Output = ()>`
|
146 | 146 | | |
|
147 | 147 | | required by a bound introduced by this call
|
148 | 148 | |
|
149 | 149 | note: required by a bound in `check_copy`
|
150 |
| - --> $DIR/clone-impl-async.rs:69:18 |
| 150 | + --> $DIR/clone-impl-async.rs:70:18 |
151 | 151 | |
|
152 | 152 | LL | fn check_copy<T: Copy>(_x: &T) {}
|
153 | 153 | | ^^^^ required by this bound in `check_copy`
|
154 | 154 |
|
155 | 155 | error[E0277]: the trait bound `impl Future<Output = ()>: Clone` is not satisfied
|
156 |
| - --> $DIR/clone-impl-async.rs:52:17 |
| 156 | + --> $DIR/clone-impl-async.rs:53:17 |
157 | 157 | |
|
158 | 158 | LL | check_clone(&maybe_copy_clone_fn);
|
159 | 159 | | ----------- ^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `impl Future<Output = ()>`
|
160 | 160 | | |
|
161 | 161 | | required by a bound introduced by this call
|
162 | 162 | |
|
163 | 163 | note: required by a bound in `check_clone`
|
164 |
| - --> $DIR/clone-impl-async.rs:70:19 |
| 164 | + --> $DIR/clone-impl-async.rs:71:19 |
165 | 165 | |
|
166 | 166 | LL | fn check_clone<T: Clone>(_x: &T) {}
|
167 | 167 | | ^^^^^ required by this bound in `check_clone`
|
|
0 commit comments