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