summary refs log tree commit diff
path: root/src/test/ui/issue-12567.stderr
blob: 60acffdcb06f8e410e38a6181ab13310d6346b1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
error[E0508]: cannot move out of type `[T]`, a non-copy slice
  --> $DIR/issue-12567.rs:16:16
   |
LL |         (&[], &[hd, ..]) | (&[hd, ..], &[])
   |                ^--^^^^^
   |                ||
   |                |hint: to prevent move, use `ref hd` or `ref mut hd`
   |                cannot move out of here

error[E0508]: cannot move out of type `[T]`, a non-copy slice
  --> $DIR/issue-12567.rs:16:30
   |
LL |         (&[], &[hd, ..]) | (&[hd, ..], &[])
   |                              ^--^^^^^
   |                              ||
   |                              |hint: to prevent move, use `ref hd` or `ref mut hd`
   |                              cannot move out of here

error[E0508]: cannot move out of type `[T]`, a non-copy slice
  --> $DIR/issue-12567.rs:20:11
   |
LL |         (&[hd1, ..], &[hd2, ..])
   |           ^---^^^^^
   |           ||
   |           |hint: to prevent move, use `ref hd1` or `ref mut hd1`
   |           cannot move out of here

error[E0508]: cannot move out of type `[T]`, a non-copy slice
  --> $DIR/issue-12567.rs:20:23
   |
LL |         (&[hd1, ..], &[hd2, ..])
   |                       ^---^^^^^
   |                       ||
   |                       |hint: to prevent move, use `ref hd2` or `ref mut hd2`
   |                       cannot move out of here

error: aborting due to 4 previous errors

For more information about this error, try `rustc --explain E0508`.