summary refs log tree commit diff
path: root/src/test/ui/issue-30355.stderr
blob: 7e843688035af5394d7fa05e64e3081d85b3354b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
error[E0161]: cannot move a value of type X: the size of X cannot be statically determined
  --> $DIR/issue-30355.rs:15:6
   |
LL |     &X(*Y)
   |      ^^^^^

error[E0161]: cannot move a value of type [u8]: the size of [u8] cannot be statically determined
  --> $DIR/issue-30355.rs:15:8
   |
LL |     &X(*Y)
   |        ^^

error[E0507]: cannot move out of borrowed content
  --> $DIR/issue-30355.rs:15:8
   |
LL |     &X(*Y)
   |        ^^ cannot move out of borrowed content

error: aborting due to 3 previous errors

Some errors occurred: E0161, E0507.
For more information about an error, try `rustc --explain E0161`.