]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-12567.stderr
Auto merge of #57108 - Mark-Simulacrum:license-remove, r=pietroalbini
[rust.git] / src / test / ui / issues / issue-12567.stderr
1 error[E0508]: cannot move out of type `[T]`, a non-copy slice
2   --> $DIR/issue-12567.rs:6:16
3    |
4 LL |         (&[], &[hd, ..]) | (&[hd, ..], &[])
5    |                ^--^^^^^
6    |                ||
7    |                |hint: to prevent move, use `ref hd` or `ref mut hd`
8    |                cannot move out of here
9
10 error[E0508]: cannot move out of type `[T]`, a non-copy slice
11   --> $DIR/issue-12567.rs:6:30
12    |
13 LL |         (&[], &[hd, ..]) | (&[hd, ..], &[])
14    |                              ^--^^^^^
15    |                              ||
16    |                              |hint: to prevent move, use `ref hd` or `ref mut hd`
17    |                              cannot move out of here
18
19 error[E0508]: cannot move out of type `[T]`, a non-copy slice
20   --> $DIR/issue-12567.rs:10:11
21    |
22 LL |         (&[hd1, ..], &[hd2, ..])
23    |           ^---^^^^^
24    |           ||
25    |           |hint: to prevent move, use `ref hd1` or `ref mut hd1`
26    |           cannot move out of here
27
28 error[E0508]: cannot move out of type `[T]`, a non-copy slice
29   --> $DIR/issue-12567.rs:10:23
30    |
31 LL |         (&[hd1, ..], &[hd2, ..])
32    |                       ^---^^^^^
33    |                       ||
34    |                       |hint: to prevent move, use `ref hd2` or `ref mut hd2`
35    |                       cannot move out of here
36
37 error: aborting due to 4 previous errors
38
39 For more information about this error, try `rustc --explain E0508`.