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