]> git.lizzy.rs Git - rust.git/blob - src/test/ui/unsized-locals/unsized-exprs2.stderr
Rollup merge of #57278 - mati865:config_clippy, r=alexcrichton
[rust.git] / src / test / ui / unsized-locals / unsized-exprs2.stderr
1 error[E0507]: cannot move out of indexed content
2   --> $DIR/unsized-exprs2.rs:22:19
3    |
4 LL |     udrop::<[u8]>(foo()[..]);
5    |                   ^^^^^^^^^ cannot move out of indexed content
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0507`.