]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issue-30355.nll.stderr
e565ad59116e851879028e6358c88c434854f215
[rust.git] / src / test / ui / issue-30355.nll.stderr
1 error[E0508]: cannot move out of type `[u8]`, a non-copy slice
2   --> $DIR/issue-30355.rs:15:8
3    |
4 LL |     &X(*Y)
5    |        ^^ cannot move out of here
6
7 error[E0161]: cannot move a value of type X: the size of X cannot be statically determined
8   --> $DIR/issue-30355.rs:15:6
9    |
10 LL |     &X(*Y)
11    |      ^^^^^
12
13 error[E0161]: cannot move a value of type [u8]: the size of [u8] cannot be statically determined
14   --> $DIR/issue-30355.rs:15:8
15    |
16 LL |     &X(*Y)
17    |        ^^
18
19 error: aborting due to 3 previous errors
20
21 Some errors occurred: E0161, E0508.
22 For more information about an error, try `rustc --explain E0161`.