@@ -6,7 +6,7 @@ LL | let a @ ref b = U;
66 | | |
77 | | value borrowed here after move
88 | value moved into `a` here
9- | move occurs because `a` has type `main::U` which does implement the `Copy` trait
9+ | move occurs because `a` has type `main::U` which does not implement the `Copy` trait
1010
1111error: borrow of moved value
1212 --> $DIR/borrowck-pat-by-move-and-ref-inverse.rs:31:9
@@ -17,7 +17,7 @@ LL | let a @ (mut b @ ref mut c, d @ ref e) = (U, U);
1717 | | | value borrowed here after move
1818 | | value borrowed here after move
1919 | value moved into `a` here
20- | move occurs because `a` has type `(main::U, main::U)` which does implement the `Copy` trait
20+ | move occurs because `a` has type `(main::U, main::U)` which does not implement the `Copy` trait
2121
2222error: borrow of moved value
2323 --> $DIR/borrowck-pat-by-move-and-ref-inverse.rs:31:14
@@ -27,7 +27,7 @@ LL | let a @ (mut b @ ref mut c, d @ ref e) = (U, U);
2727 | | |
2828 | | value borrowed here after move
2929 | value moved into `b` here
30- | move occurs because `b` has type `main::U` which does implement the `Copy` trait
30+ | move occurs because `b` has type `main::U` which does not implement the `Copy` trait
3131
3232error: borrow of moved value
3333 --> $DIR/borrowck-pat-by-move-and-ref-inverse.rs:31:33
@@ -37,7 +37,7 @@ LL | let a @ (mut b @ ref mut c, d @ ref e) = (U, U);
3737 | | |
3838 | | value borrowed here after move
3939 | value moved into `d` here
40- | move occurs because `d` has type `main::U` which does implement the `Copy` trait
40+ | move occurs because `d` has type `main::U` which does not implement the `Copy` trait
4141
4242error: borrow of moved value
4343 --> $DIR/borrowck-pat-by-move-and-ref-inverse.rs:38:9
@@ -48,7 +48,7 @@ LL | let a @ [ref mut b, ref c] = [U, U];
4848 | | | value borrowed here after move
4949 | | value borrowed here after move
5050 | value moved into `a` here
51- | move occurs because `a` has type `[main::U; 2]` which does implement the `Copy` trait
51+ | move occurs because `a` has type `[main::U; 2]` which does not implement the `Copy` trait
5252
5353error: borrow of moved value
5454 --> $DIR/borrowck-pat-by-move-and-ref-inverse.rs:41:9
@@ -58,7 +58,7 @@ LL | let a @ ref b = u();
5858 | | |
5959 | | value borrowed here after move
6060 | value moved into `a` here
61- | move occurs because `a` has type `main::U` which does implement the `Copy` trait
61+ | move occurs because `a` has type `main::U` which does not implement the `Copy` trait
6262
6363error: borrow of moved value
6464 --> $DIR/borrowck-pat-by-move-and-ref-inverse.rs:44:9
@@ -69,7 +69,7 @@ LL | let a @ (mut b @ ref mut c, d @ ref e) = (u(), u());
6969 | | | value borrowed here after move
7070 | | value borrowed here after move
7171 | value moved into `a` here
72- | move occurs because `a` has type `(main::U, main::U)` which does implement the `Copy` trait
72+ | move occurs because `a` has type `(main::U, main::U)` which does not implement the `Copy` trait
7373
7474error: borrow of moved value
7575 --> $DIR/borrowck-pat-by-move-and-ref-inverse.rs:44:14
@@ -79,7 +79,7 @@ LL | let a @ (mut b @ ref mut c, d @ ref e) = (u(), u());
7979 | | |
8080 | | value borrowed here after move
8181 | value moved into `b` here
82- | move occurs because `b` has type `main::U` which does implement the `Copy` trait
82+ | move occurs because `b` has type `main::U` which does not implement the `Copy` trait
8383
8484error: borrow of moved value
8585 --> $DIR/borrowck-pat-by-move-and-ref-inverse.rs:44:33
@@ -89,7 +89,7 @@ LL | let a @ (mut b @ ref mut c, d @ ref e) = (u(), u());
8989 | | |
9090 | | value borrowed here after move
9191 | value moved into `d` here
92- | move occurs because `d` has type `main::U` which does implement the `Copy` trait
92+ | move occurs because `d` has type `main::U` which does not implement the `Copy` trait
9393
9494error: borrow of moved value
9595 --> $DIR/borrowck-pat-by-move-and-ref-inverse.rs:51:9
@@ -100,7 +100,7 @@ LL | let a @ [ref mut b, ref c] = [u(), u()];
100100 | | | value borrowed here after move
101101 | | value borrowed here after move
102102 | value moved into `a` here
103- | move occurs because `a` has type `[main::U; 2]` which does implement the `Copy` trait
103+ | move occurs because `a` has type `[main::U; 2]` which does not implement the `Copy` trait
104104
105105error: borrow of moved value
106106 --> $DIR/borrowck-pat-by-move-and-ref-inverse.rs:56:9
@@ -110,7 +110,7 @@ LL | a @ Some(ref b) => {}
110110 | | |
111111 | | value borrowed here after move
112112 | value moved into `a` here
113- | move occurs because `a` has type `std::option::Option<main::U>` which does implement the `Copy` trait
113+ | move occurs because `a` has type `std::option::Option<main::U>` which does not implement the `Copy` trait
114114
115115error: borrow of moved value
116116 --> $DIR/borrowck-pat-by-move-and-ref-inverse.rs:61:9
@@ -121,7 +121,7 @@ LL | a @ Some((mut b @ ref mut c, d @ ref e)) => {}
121121 | | | value borrowed here after move
122122 | | value borrowed here after move
123123 | value moved into `a` here
124- | move occurs because `a` has type `std::option::Option<(main::U, main::U)>` which does implement the `Copy` trait
124+ | move occurs because `a` has type `std::option::Option<(main::U, main::U)>` which does not implement the `Copy` trait
125125
126126error: borrow of moved value
127127 --> $DIR/borrowck-pat-by-move-and-ref-inverse.rs:61:19
@@ -131,7 +131,7 @@ LL | a @ Some((mut b @ ref mut c, d @ ref e)) => {}
131131 | | |
132132 | | value borrowed here after move
133133 | value moved into `b` here
134- | move occurs because `b` has type `main::U` which does implement the `Copy` trait
134+ | move occurs because `b` has type `main::U` which does not implement the `Copy` trait
135135
136136error: borrow of moved value
137137 --> $DIR/borrowck-pat-by-move-and-ref-inverse.rs:61:38
@@ -141,7 +141,7 @@ LL | a @ Some((mut b @ ref mut c, d @ ref e)) => {}
141141 | | |
142142 | | value borrowed here after move
143143 | value moved into `d` here
144- | move occurs because `d` has type `main::U` which does implement the `Copy` trait
144+ | move occurs because `d` has type `main::U` which does not implement the `Copy` trait
145145
146146error: borrow of moved value
147147 --> $DIR/borrowck-pat-by-move-and-ref-inverse.rs:71:9
@@ -152,7 +152,7 @@ LL | mut a @ Some([ref b, ref mut c]) => {}
152152 | | | value borrowed here after move
153153 | | value borrowed here after move
154154 | value moved into `a` here
155- | move occurs because `a` has type `std::option::Option<[main::U; 2]>` which does implement the `Copy` trait
155+ | move occurs because `a` has type `std::option::Option<[main::U; 2]>` which does not implement the `Copy` trait
156156
157157error: borrow of moved value
158158 --> $DIR/borrowck-pat-by-move-and-ref-inverse.rs:77:9
@@ -162,7 +162,7 @@ LL | a @ Some(ref b) => {}
162162 | | |
163163 | | value borrowed here after move
164164 | value moved into `a` here
165- | move occurs because `a` has type `std::option::Option<main::U>` which does implement the `Copy` trait
165+ | move occurs because `a` has type `std::option::Option<main::U>` which does not implement the `Copy` trait
166166
167167error: borrow of moved value
168168 --> $DIR/borrowck-pat-by-move-and-ref-inverse.rs:83:9
@@ -173,7 +173,7 @@ LL | a @ Some((mut b @ ref mut c, d @ ref e)) => {}
173173 | | | value borrowed here after move
174174 | | value borrowed here after move
175175 | value moved into `a` here
176- | move occurs because `a` has type `std::option::Option<(main::U, main::U)>` which does implement the `Copy` trait
176+ | move occurs because `a` has type `std::option::Option<(main::U, main::U)>` which does not implement the `Copy` trait
177177
178178error: borrow of moved value
179179 --> $DIR/borrowck-pat-by-move-and-ref-inverse.rs:83:19
@@ -183,7 +183,7 @@ LL | a @ Some((mut b @ ref mut c, d @ ref e)) => {}
183183 | | |
184184 | | value borrowed here after move
185185 | value moved into `b` here
186- | move occurs because `b` has type `main::U` which does implement the `Copy` trait
186+ | move occurs because `b` has type `main::U` which does not implement the `Copy` trait
187187
188188error: borrow of moved value
189189 --> $DIR/borrowck-pat-by-move-and-ref-inverse.rs:83:38
@@ -193,7 +193,7 @@ LL | a @ Some((mut b @ ref mut c, d @ ref e)) => {}
193193 | | |
194194 | | value borrowed here after move
195195 | value moved into `d` here
196- | move occurs because `d` has type `main::U` which does implement the `Copy` trait
196+ | move occurs because `d` has type `main::U` which does not implement the `Copy` trait
197197
198198error: borrow of moved value
199199 --> $DIR/borrowck-pat-by-move-and-ref-inverse.rs:93:9
@@ -204,7 +204,7 @@ LL | mut a @ Some([ref b, ref mut c]) => {}
204204 | | | value borrowed here after move
205205 | | value borrowed here after move
206206 | value moved into `a` here
207- | move occurs because `a` has type `std::option::Option<[main::U; 2]>` which does implement the `Copy` trait
207+ | move occurs because `a` has type `std::option::Option<[main::U; 2]>` which does not implement the `Copy` trait
208208
209209error: borrow of moved value
210210 --> $DIR/borrowck-pat-by-move-and-ref-inverse.rs:14:11
@@ -214,7 +214,7 @@ LL | fn f1(a @ ref b: U) {}
214214 | | |
215215 | | value borrowed here after move
216216 | value moved into `a` here
217- | move occurs because `a` has type `main::U` which does implement the `Copy` trait
217+ | move occurs because `a` has type `main::U` which does not implement the `Copy` trait
218218
219219error: borrow of moved value
220220 --> $DIR/borrowck-pat-by-move-and-ref-inverse.rs:18:11
@@ -225,7 +225,7 @@ LL | fn f2(mut a @ (b @ ref c, mut d @ ref e): (U, U)) {}
225225 | | | value borrowed here after move
226226 | | value borrowed here after move
227227 | value moved into `a` here
228- | move occurs because `a` has type `(main::U, main::U)` which does implement the `Copy` trait
228+ | move occurs because `a` has type `(main::U, main::U)` which does not implement the `Copy` trait
229229
230230error: borrow of moved value
231231 --> $DIR/borrowck-pat-by-move-and-ref-inverse.rs:18:20
@@ -235,7 +235,7 @@ LL | fn f2(mut a @ (b @ ref c, mut d @ ref e): (U, U)) {}
235235 | | |
236236 | | value borrowed here after move
237237 | value moved into `b` here
238- | move occurs because `b` has type `main::U` which does implement the `Copy` trait
238+ | move occurs because `b` has type `main::U` which does not implement the `Copy` trait
239239
240240error: borrow of moved value
241241 --> $DIR/borrowck-pat-by-move-and-ref-inverse.rs:18:31
@@ -245,7 +245,7 @@ LL | fn f2(mut a @ (b @ ref c, mut d @ ref e): (U, U)) {}
245245 | | |
246246 | | value borrowed here after move
247247 | value moved into `d` here
248- | move occurs because `d` has type `main::U` which does implement the `Copy` trait
248+ | move occurs because `d` has type `main::U` which does not implement the `Copy` trait
249249
250250error: borrow of moved value
251251 --> $DIR/borrowck-pat-by-move-and-ref-inverse.rs:25:11
@@ -256,7 +256,7 @@ LL | fn f3(a @ [ref mut b, ref c]: [U; 2]) {}
256256 | | | value borrowed here after move
257257 | | value borrowed here after move
258258 | value moved into `a` here
259- | move occurs because `a` has type `[main::U; 2]` which does implement the `Copy` trait
259+ | move occurs because `a` has type `[main::U; 2]` which does not implement the `Copy` trait
260260
261261error[E0382]: borrow of moved value
262262 --> $DIR/borrowck-pat-by-move-and-ref-inverse.rs:31:22
0 commit comments