2020-02-02 10:58:15 -06:00
|
|
|
error: cannot move out of value because it is borrowed
|
2020-11-01 12:35:55 -06:00
|
|
|
--> $DIR/borrowck-pat-by-move-and-ref.rs:26:9
|
2019-11-11 04:39:52 -06:00
|
|
|
|
|
2020-01-18 19:47:01 -06:00
|
|
|
LL | let ref a @ b = U;
|
|
|
|
| -----^^^-
|
|
|
|
| | |
|
2020-02-02 10:58:15 -06:00
|
|
|
| | value moved into `b` here
|
|
|
|
| value borrowed, by `a`, here
|
2019-11-11 04:39:52 -06:00
|
|
|
|
2020-02-02 10:58:15 -06:00
|
|
|
error: cannot move out of value because it is borrowed
|
2020-11-01 12:35:55 -06:00
|
|
|
--> $DIR/borrowck-pat-by-move-and-ref.rs:28:9
|
2020-01-18 19:47:01 -06:00
|
|
|
|
|
|
|
|
LL | let ref a @ (ref b @ mut c, ref d @ e) = (U, U);
|
|
|
|
| -----^^^^^^^^^^^^-----^^^^^^^^^^-^
|
|
|
|
| | | |
|
2020-02-02 10:58:15 -06:00
|
|
|
| | | value moved into `e` here
|
|
|
|
| | value moved into `c` here
|
|
|
|
| value borrowed, by `a`, here
|
2020-01-18 19:47:01 -06:00
|
|
|
|
2020-02-02 10:58:15 -06:00
|
|
|
error: cannot move out of value because it is borrowed
|
2020-11-01 12:35:55 -06:00
|
|
|
--> $DIR/borrowck-pat-by-move-and-ref.rs:28:18
|
2020-01-18 19:47:01 -06:00
|
|
|
|
|
|
|
|
LL | let ref a @ (ref b @ mut c, ref d @ e) = (U, U);
|
|
|
|
| -----^^^-----
|
|
|
|
| | |
|
2020-02-02 10:58:15 -06:00
|
|
|
| | value moved into `c` here
|
|
|
|
| value borrowed, by `b`, here
|
2020-01-18 19:47:01 -06:00
|
|
|
|
2020-02-02 10:58:15 -06:00
|
|
|
error: cannot move out of value because it is borrowed
|
2020-11-01 12:35:55 -06:00
|
|
|
--> $DIR/borrowck-pat-by-move-and-ref.rs:28:33
|
2020-01-18 19:47:01 -06:00
|
|
|
|
|
|
|
|
LL | let ref a @ (ref b @ mut c, ref d @ e) = (U, U);
|
|
|
|
| -----^^^-
|
|
|
|
| | |
|
2020-02-02 10:58:15 -06:00
|
|
|
| | value moved into `e` here
|
|
|
|
| value borrowed, by `d`, here
|
2020-01-18 19:47:01 -06:00
|
|
|
|
2020-02-02 10:58:15 -06:00
|
|
|
error: cannot move out of value because it is borrowed
|
2020-11-01 12:35:55 -06:00
|
|
|
--> $DIR/borrowck-pat-by-move-and-ref.rs:32:9
|
2020-01-18 19:47:01 -06:00
|
|
|
|
|
|
|
|
LL | let ref mut a @ [b, mut c] = [U, U];
|
|
|
|
| ---------^^^^-^^-----^
|
|
|
|
| | | |
|
2020-02-02 10:58:15 -06:00
|
|
|
| | | value moved into `c` here
|
|
|
|
| | value moved into `b` here
|
|
|
|
| value borrowed, by `a`, here
|
2020-01-18 19:47:01 -06:00
|
|
|
|
2020-02-02 10:58:15 -06:00
|
|
|
error: cannot move out of value because it is borrowed
|
2020-11-01 12:35:55 -06:00
|
|
|
--> $DIR/borrowck-pat-by-move-and-ref.rs:35:9
|
2020-01-18 19:47:01 -06:00
|
|
|
|
|
|
|
|
LL | let ref a @ b = u();
|
|
|
|
| -----^^^-
|
|
|
|
| | |
|
2020-02-02 10:58:15 -06:00
|
|
|
| | value moved into `b` here
|
|
|
|
| value borrowed, by `a`, here
|
2020-01-18 19:47:01 -06:00
|
|
|
|
2020-02-02 10:58:15 -06:00
|
|
|
error: cannot move out of value because it is borrowed
|
2020-11-01 12:35:55 -06:00
|
|
|
--> $DIR/borrowck-pat-by-move-and-ref.rs:38:9
|
2020-01-18 19:47:01 -06:00
|
|
|
|
|
|
|
|
LL | let ref a @ (ref b @ mut c, ref d @ e) = (u(), u());
|
|
|
|
| -----^^^^^^^^^^^^-----^^^^^^^^^^-^
|
|
|
|
| | | |
|
2020-02-02 10:58:15 -06:00
|
|
|
| | | value moved into `e` here
|
|
|
|
| | value moved into `c` here
|
|
|
|
| value borrowed, by `a`, here
|
2020-01-18 19:47:01 -06:00
|
|
|
|
2020-02-02 10:58:15 -06:00
|
|
|
error: cannot move out of value because it is borrowed
|
2020-11-01 12:35:55 -06:00
|
|
|
--> $DIR/borrowck-pat-by-move-and-ref.rs:38:18
|
2020-01-18 19:47:01 -06:00
|
|
|
|
|
|
|
|
LL | let ref a @ (ref b @ mut c, ref d @ e) = (u(), u());
|
|
|
|
| -----^^^-----
|
|
|
|
| | |
|
2020-02-02 10:58:15 -06:00
|
|
|
| | value moved into `c` here
|
|
|
|
| value borrowed, by `b`, here
|
2020-01-18 19:47:01 -06:00
|
|
|
|
2020-02-02 10:58:15 -06:00
|
|
|
error: cannot move out of value because it is borrowed
|
2020-11-01 12:35:55 -06:00
|
|
|
--> $DIR/borrowck-pat-by-move-and-ref.rs:38:33
|
2020-01-18 19:47:01 -06:00
|
|
|
|
|
|
|
|
LL | let ref a @ (ref b @ mut c, ref d @ e) = (u(), u());
|
|
|
|
| -----^^^-
|
|
|
|
| | |
|
2020-02-02 10:58:15 -06:00
|
|
|
| | value moved into `e` here
|
|
|
|
| value borrowed, by `d`, here
|
2020-01-18 19:47:01 -06:00
|
|
|
|
2020-02-02 10:58:15 -06:00
|
|
|
error: cannot move out of value because it is borrowed
|
2020-11-01 12:35:55 -06:00
|
|
|
--> $DIR/borrowck-pat-by-move-and-ref.rs:44:9
|
2020-01-18 19:47:01 -06:00
|
|
|
|
|
|
|
|
LL | let ref mut a @ [b, mut c] = [u(), u()];
|
|
|
|
| ---------^^^^-^^-----^
|
|
|
|
| | | |
|
2020-02-02 10:58:15 -06:00
|
|
|
| | | value moved into `c` here
|
|
|
|
| | value moved into `b` here
|
|
|
|
| value borrowed, by `a`, here
|
2020-01-18 19:47:01 -06:00
|
|
|
|
2020-02-02 10:58:15 -06:00
|
|
|
error: cannot move out of value because it is borrowed
|
2020-11-01 12:35:55 -06:00
|
|
|
--> $DIR/borrowck-pat-by-move-and-ref.rs:49:9
|
2020-01-18 19:47:01 -06:00
|
|
|
|
|
|
|
|
LL | ref a @ Some(b) => {}
|
|
|
|
| -----^^^^^^^^-^
|
|
|
|
| | |
|
2020-02-02 10:58:15 -06:00
|
|
|
| | value moved into `b` here
|
|
|
|
| value borrowed, by `a`, here
|
2020-01-18 19:47:01 -06:00
|
|
|
|
2020-02-02 10:58:15 -06:00
|
|
|
error: cannot move out of value because it is borrowed
|
2020-11-01 12:35:55 -06:00
|
|
|
--> $DIR/borrowck-pat-by-move-and-ref.rs:54:9
|
2020-01-18 19:47:01 -06:00
|
|
|
|
|
|
|
|
LL | ref a @ Some((ref b @ mut c, ref d @ e)) => {}
|
|
|
|
| -----^^^^^^^^^^^^^^^^^-----^^^^^^^^^^-^^
|
|
|
|
| | | |
|
2020-02-02 10:58:15 -06:00
|
|
|
| | | value moved into `e` here
|
|
|
|
| | value moved into `c` here
|
|
|
|
| value borrowed, by `a`, here
|
2020-01-18 19:47:01 -06:00
|
|
|
|
2020-02-02 10:58:15 -06:00
|
|
|
error: cannot move out of value because it is borrowed
|
2020-11-01 12:35:55 -06:00
|
|
|
--> $DIR/borrowck-pat-by-move-and-ref.rs:54:23
|
2020-01-18 19:47:01 -06:00
|
|
|
|
|
|
|
|
LL | ref a @ Some((ref b @ mut c, ref d @ e)) => {}
|
|
|
|
| -----^^^-----
|
|
|
|
| | |
|
2020-02-02 10:58:15 -06:00
|
|
|
| | value moved into `c` here
|
|
|
|
| value borrowed, by `b`, here
|
2020-01-18 19:47:01 -06:00
|
|
|
|
2020-02-02 10:58:15 -06:00
|
|
|
error: cannot move out of value because it is borrowed
|
2020-11-01 12:35:55 -06:00
|
|
|
--> $DIR/borrowck-pat-by-move-and-ref.rs:54:38
|
2020-01-18 19:47:01 -06:00
|
|
|
|
|
|
|
|
LL | ref a @ Some((ref b @ mut c, ref d @ e)) => {}
|
|
|
|
| -----^^^-
|
|
|
|
| | |
|
2020-02-02 10:58:15 -06:00
|
|
|
| | value moved into `e` here
|
|
|
|
| value borrowed, by `d`, here
|
2020-01-18 19:47:01 -06:00
|
|
|
|
2020-02-02 10:58:15 -06:00
|
|
|
error: cannot move out of value because it is borrowed
|
2020-11-01 12:35:55 -06:00
|
|
|
--> $DIR/borrowck-pat-by-move-and-ref.rs:61:9
|
2020-01-18 19:47:01 -06:00
|
|
|
|
|
|
|
|
LL | ref mut a @ Some([b, mut c]) => {}
|
|
|
|
| ---------^^^^^^^^^-^^-----^^
|
|
|
|
| | | |
|
2020-02-02 10:58:15 -06:00
|
|
|
| | | value moved into `c` here
|
|
|
|
| | value moved into `b` here
|
|
|
|
| value borrowed, by `a`, here
|
2020-01-18 19:47:01 -06:00
|
|
|
|
2020-02-02 10:58:15 -06:00
|
|
|
error: cannot move out of value because it is borrowed
|
2020-11-03 00:45:41 -06:00
|
|
|
--> $DIR/borrowck-pat-by-move-and-ref.rs:66:9
|
2020-01-18 19:47:01 -06:00
|
|
|
|
|
|
|
|
LL | ref a @ Some(b) => {}
|
|
|
|
| -----^^^^^^^^-^
|
|
|
|
| | |
|
2020-02-02 10:58:15 -06:00
|
|
|
| | value moved into `b` here
|
|
|
|
| value borrowed, by `a`, here
|
2020-01-18 19:47:01 -06:00
|
|
|
|
2020-02-02 10:58:15 -06:00
|
|
|
error: cannot move out of value because it is borrowed
|
2020-11-03 00:45:41 -06:00
|
|
|
--> $DIR/borrowck-pat-by-move-and-ref.rs:71:9
|
2020-01-18 19:47:01 -06:00
|
|
|
|
|
|
|
|
LL | ref a @ Some((ref b @ mut c, ref d @ e)) => {}
|
|
|
|
| -----^^^^^^^^^^^^^^^^^-----^^^^^^^^^^-^^
|
|
|
|
| | | |
|
2020-02-02 10:58:15 -06:00
|
|
|
| | | value moved into `e` here
|
|
|
|
| | value moved into `c` here
|
|
|
|
| value borrowed, by `a`, here
|
2020-01-18 19:47:01 -06:00
|
|
|
|
2020-02-02 10:58:15 -06:00
|
|
|
error: cannot move out of value because it is borrowed
|
2020-11-03 00:45:41 -06:00
|
|
|
--> $DIR/borrowck-pat-by-move-and-ref.rs:71:23
|
2020-01-18 19:47:01 -06:00
|
|
|
|
|
|
|
|
LL | ref a @ Some((ref b @ mut c, ref d @ e)) => {}
|
|
|
|
| -----^^^-----
|
|
|
|
| | |
|
2020-02-02 10:58:15 -06:00
|
|
|
| | value moved into `c` here
|
|
|
|
| value borrowed, by `b`, here
|
2020-01-18 19:47:01 -06:00
|
|
|
|
2020-02-02 10:58:15 -06:00
|
|
|
error: cannot move out of value because it is borrowed
|
2020-11-03 00:45:41 -06:00
|
|
|
--> $DIR/borrowck-pat-by-move-and-ref.rs:71:38
|
2020-01-18 19:47:01 -06:00
|
|
|
|
|
|
|
|
LL | ref a @ Some((ref b @ mut c, ref d @ e)) => {}
|
|
|
|
| -----^^^-
|
|
|
|
| | |
|
2020-02-02 10:58:15 -06:00
|
|
|
| | value moved into `e` here
|
|
|
|
| value borrowed, by `d`, here
|
2020-01-18 19:47:01 -06:00
|
|
|
|
2020-02-02 10:58:15 -06:00
|
|
|
error: cannot move out of value because it is borrowed
|
2020-11-03 00:45:41 -06:00
|
|
|
--> $DIR/borrowck-pat-by-move-and-ref.rs:80:9
|
2020-01-18 19:47:01 -06:00
|
|
|
|
|
|
|
|
LL | ref mut a @ Some([b, mut c]) => {}
|
|
|
|
| ---------^^^^^^^^^-^^-----^^
|
|
|
|
| | | |
|
2020-02-02 10:58:15 -06:00
|
|
|
| | | value moved into `c` here
|
|
|
|
| | value moved into `b` here
|
|
|
|
| value borrowed, by `a`, here
|
2020-01-18 19:47:01 -06:00
|
|
|
|
2020-02-02 10:58:15 -06:00
|
|
|
error: cannot move out of value because it is borrowed
|
2020-08-30 13:59:56 -05:00
|
|
|
--> $DIR/borrowck-pat-by-move-and-ref.rs:13:11
|
2020-01-18 19:47:01 -06:00
|
|
|
|
|
|
|
|
LL | fn f1(ref a @ b: U) {}
|
|
|
|
| -----^^^-
|
|
|
|
| | |
|
2020-02-02 10:58:15 -06:00
|
|
|
| | value moved into `b` here
|
|
|
|
| value borrowed, by `a`, here
|
2020-01-18 19:47:01 -06:00
|
|
|
|
2020-02-02 10:58:15 -06:00
|
|
|
error: cannot move out of value because it is borrowed
|
2020-11-01 12:35:55 -06:00
|
|
|
--> $DIR/borrowck-pat-by-move-and-ref.rs:16:11
|
2020-01-18 19:47:01 -06:00
|
|
|
|
|
|
|
|
LL | fn f2(ref a @ (ref b @ mut c, ref d @ e): (U, U)) {}
|
|
|
|
| -----^^^^^^^^^^^^-----^^^^^^^^^^-^
|
|
|
|
| | | |
|
2020-02-02 10:58:15 -06:00
|
|
|
| | | value moved into `e` here
|
|
|
|
| | value moved into `c` here
|
|
|
|
| value borrowed, by `a`, here
|
2020-01-18 19:47:01 -06:00
|
|
|
|
2020-02-02 10:58:15 -06:00
|
|
|
error: cannot move out of value because it is borrowed
|
2020-11-01 12:35:55 -06:00
|
|
|
--> $DIR/borrowck-pat-by-move-and-ref.rs:16:20
|
2020-01-18 19:47:01 -06:00
|
|
|
|
|
|
|
|
LL | fn f2(ref a @ (ref b @ mut c, ref d @ e): (U, U)) {}
|
|
|
|
| -----^^^-----
|
|
|
|
| | |
|
2020-02-02 10:58:15 -06:00
|
|
|
| | value moved into `c` here
|
|
|
|
| value borrowed, by `b`, here
|
2020-01-18 19:47:01 -06:00
|
|
|
|
2020-02-02 10:58:15 -06:00
|
|
|
error: cannot move out of value because it is borrowed
|
2020-11-01 12:35:55 -06:00
|
|
|
--> $DIR/borrowck-pat-by-move-and-ref.rs:16:35
|
2020-01-18 19:47:01 -06:00
|
|
|
|
|
|
|
|
LL | fn f2(ref a @ (ref b @ mut c, ref d @ e): (U, U)) {}
|
|
|
|
| -----^^^-
|
|
|
|
| | |
|
2020-02-02 10:58:15 -06:00
|
|
|
| | value moved into `e` here
|
|
|
|
| value borrowed, by `d`, here
|
2020-01-18 19:47:01 -06:00
|
|
|
|
2020-02-02 10:58:15 -06:00
|
|
|
error: cannot move out of value because it is borrowed
|
2020-11-01 12:35:55 -06:00
|
|
|
--> $DIR/borrowck-pat-by-move-and-ref.rs:22:11
|
2020-01-18 19:47:01 -06:00
|
|
|
|
|
|
|
|
LL | fn f3(ref mut a @ [b, mut c]: [U; 2]) {}
|
|
|
|
| ---------^^^^-^^-----^
|
|
|
|
| | | |
|
2020-02-02 10:58:15 -06:00
|
|
|
| | | value moved into `c` here
|
|
|
|
| | value moved into `b` here
|
|
|
|
| value borrowed, by `a`, here
|
2020-01-18 19:47:01 -06:00
|
|
|
|
2020-11-01 12:35:55 -06:00
|
|
|
error[E0382]: borrow of partially moved value
|
|
|
|
--> $DIR/borrowck-pat-by-move-and-ref.rs:32:9
|
|
|
|
|
|
|
|
|
LL | let ref mut a @ [b, mut c] = [U, U];
|
2020-11-02 10:59:20 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^-----^
|
|
|
|
| | |
|
|
|
|
| | value partially moved here
|
2020-11-01 12:35:55 -06:00
|
|
|
| value borrowed here after partial move
|
|
|
|
|
|
|
|
|
= note: partial move occurs because value has type `U`, which does not implement the `Copy` trait
|
|
|
|
|
|
|
|
error[E0382]: borrow of moved value
|
|
|
|
--> $DIR/borrowck-pat-by-move-and-ref.rs:35:9
|
|
|
|
|
|
|
|
|
LL | let ref a @ b = u();
|
|
|
|
| ^^^^^^^^- --- move occurs because value has type `U`, which does not implement the `Copy` trait
|
|
|
|
| | |
|
|
|
|
| | value moved here
|
|
|
|
| value borrowed here after move
|
|
|
|
|
|
|
|
error[E0382]: borrow of moved value
|
|
|
|
--> $DIR/borrowck-pat-by-move-and-ref.rs:38:18
|
|
|
|
|
|
|
|
|
LL | let ref a @ (ref b @ mut c, ref d @ e) = (u(), u());
|
|
|
|
| ^^^^^^^^-----
|
|
|
|
| | |
|
|
|
|
| | value moved here
|
|
|
|
| value borrowed here after move
|
|
|
|
|
|
|
|
|
= note: move occurs because value has type `U`, which does not implement the `Copy` trait
|
|
|
|
|
|
|
|
error[E0382]: borrow of moved value
|
|
|
|
--> $DIR/borrowck-pat-by-move-and-ref.rs:38:33
|
|
|
|
|
|
|
|
|
LL | let ref a @ (ref b @ mut c, ref d @ e) = (u(), u());
|
|
|
|
| ^^^^^^^^-
|
|
|
|
| | |
|
|
|
|
| | value moved here
|
|
|
|
| value borrowed here after move
|
|
|
|
|
|
|
|
|
= note: move occurs because value has type `U`, which does not implement the `Copy` trait
|
|
|
|
|
|
|
|
error[E0382]: borrow of partially moved value
|
|
|
|
--> $DIR/borrowck-pat-by-move-and-ref.rs:44:9
|
|
|
|
|
|
|
|
|
LL | let ref mut a @ [b, mut c] = [u(), u()];
|
2020-11-02 10:59:20 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^-----^
|
|
|
|
| | |
|
|
|
|
| | value partially moved here
|
2020-11-01 12:35:55 -06:00
|
|
|
| value borrowed here after partial move
|
|
|
|
|
|
|
|
|
= note: partial move occurs because value has type `U`, which does not implement the `Copy` trait
|
|
|
|
|
|
|
|
error[E0382]: borrow of moved value
|
2020-11-03 00:45:41 -06:00
|
|
|
--> $DIR/borrowck-pat-by-move-and-ref.rs:71:23
|
2020-11-01 12:35:55 -06:00
|
|
|
|
|
|
|
|
LL | ref a @ Some((ref b @ mut c, ref d @ e)) => {}
|
|
|
|
| ^^^^^^^^-----
|
|
|
|
| | |
|
|
|
|
| | value moved here
|
|
|
|
| value borrowed here after move
|
|
|
|
|
|
|
|
|
= note: move occurs because value has type `U`, which does not implement the `Copy` trait
|
|
|
|
help: borrow this field in the pattern to avoid moving the value
|
|
|
|
|
|
|
|
|
LL | ref a @ Some((ref b @ ref mut c, ref d @ e)) => {}
|
|
|
|
| ^^^
|
|
|
|
|
|
|
|
error[E0382]: borrow of moved value
|
2020-11-03 00:45:41 -06:00
|
|
|
--> $DIR/borrowck-pat-by-move-and-ref.rs:71:38
|
2020-11-01 12:35:55 -06:00
|
|
|
|
|
|
|
|
LL | ref a @ Some((ref b @ mut c, ref d @ e)) => {}
|
|
|
|
| ^^^^^^^^-
|
|
|
|
| | |
|
|
|
|
| | value moved here
|
|
|
|
| value borrowed here after move
|
|
|
|
|
|
|
|
|
= note: move occurs because value has type `U`, which does not implement the `Copy` trait
|
|
|
|
help: borrow this field in the pattern to avoid moving the value
|
|
|
|
|
|
|
|
|
LL | ref a @ Some((ref b @ mut c, ref d @ ref e)) => {}
|
|
|
|
| ^^^
|
|
|
|
|
|
|
|
error[E0382]: borrow of moved value
|
|
|
|
--> $DIR/borrowck-pat-by-move-and-ref.rs:13:11
|
|
|
|
|
|
|
|
|
LL | fn f1(ref a @ b: U) {}
|
|
|
|
| ^^^^^^^^-
|
|
|
|
| | |
|
|
|
|
| | value moved here
|
|
|
|
| value borrowed here after move
|
|
|
|
| move occurs because value has type `U`, which does not implement the `Copy` trait
|
|
|
|
|
|
|
|
error[E0382]: borrow of moved value
|
|
|
|
--> $DIR/borrowck-pat-by-move-and-ref.rs:16:20
|
|
|
|
|
|
|
|
|
LL | fn f2(ref a @ (ref b @ mut c, ref d @ e): (U, U)) {}
|
|
|
|
| ^^^^^^^^-----
|
|
|
|
| | |
|
|
|
|
| | value moved here
|
|
|
|
| value borrowed here after move
|
|
|
|
|
|
|
|
|
= note: move occurs because value has type `U`, which does not implement the `Copy` trait
|
|
|
|
|
|
|
|
error[E0382]: borrow of moved value
|
|
|
|
--> $DIR/borrowck-pat-by-move-and-ref.rs:16:35
|
|
|
|
|
|
|
|
|
LL | fn f2(ref a @ (ref b @ mut c, ref d @ e): (U, U)) {}
|
|
|
|
| ^^^^^^^^-
|
|
|
|
| | |
|
|
|
|
| | value moved here
|
|
|
|
| value borrowed here after move
|
|
|
|
|
|
|
|
|
= note: move occurs because value has type `U`, which does not implement the `Copy` trait
|
|
|
|
|
|
|
|
error[E0382]: borrow of partially moved value
|
|
|
|
--> $DIR/borrowck-pat-by-move-and-ref.rs:22:11
|
|
|
|
|
|
|
|
|
LL | fn f3(ref mut a @ [b, mut c]: [U; 2]) {}
|
2020-11-02 10:59:20 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^-----^
|
|
|
|
| | |
|
|
|
|
| | value partially moved here
|
2020-11-01 12:35:55 -06:00
|
|
|
| value borrowed here after partial move
|
|
|
|
|
|
|
|
|
= note: partial move occurs because value has type `U`, which does not implement the `Copy` trait
|
|
|
|
|
2020-11-03 00:45:41 -06:00
|
|
|
error: aborting due to 36 previous errors
|
2019-11-11 04:39:52 -06:00
|
|
|
|
2020-11-01 12:35:55 -06:00
|
|
|
For more information about this error, try `rustc --explain E0382`.
|