]> git.lizzy.rs Git - rust.git/blob - src/test/ui/unsized/return-unsized-from-trait-method.stderr
Rollup merge of #103163 - SUPERCILEX:uninit-array-assume2, r=scottmcm
[rust.git] / src / test / ui / unsized / return-unsized-from-trait-method.stderr
1 error[E0161]: cannot move a value of type `[u8]`
2   --> $DIR/return-unsized-from-trait-method.rs:9:17
3    |
4 LL |         let _ = f.foo();
5    |                 ^^^^^^^ the size of `[u8]` cannot be statically determined
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0161`.